Extensions..::..AsViewModel Method (Category)

Ases the view model.

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

Syntax


public static CategoryViewModel AsViewModel(
	Category category
)
Public Shared Function AsViewModel ( _
	category As Category _
) As CategoryViewModel
public:
static CategoryViewModel^ AsViewModel(
	Category^ category
)

Return Value

CategoryViewModel.

Exceptions


ExceptionCondition
ArgumentNullException