Extensions..::..AsViewModel Method (Group)

Ases the view model.

Namespace:  MichaelBrandonMorris.KingsportMillSafetyTraining.Models
Assembly:  MichaelBrandonMorris.KingsportMillSafetyTraining (in MichaelBrandonMorris.KingsportMillSafetyTraining.dll)

Syntax


public static GroupViewModel AsViewModel(
	Group role
)
Public Shared Function AsViewModel ( _
	role As Group _
) As GroupViewModel
public:
static GroupViewModel^ AsViewModel(
	Group^ role
)

Return Value

GroupViewModel.

Exceptions


ExceptionCondition
ArgumentNullException