Extensions..::..AsViewModel Method (User)

Ases the view model.

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

Syntax


public static UserViewModel AsViewModel(
	User user
)
Public Shared Function AsViewModel ( _
	user As User _
) As UserViewModel
public:
static UserViewModel^ AsViewModel(
	User^ user
)

Return Value

UserViewModel.

Exceptions


ExceptionCondition
ArgumentNullException