Extensions..::..AsViewModel Method (TrainingResult)

Ases the view model.

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

Syntax


public static TrainingResultViewModel AsViewModel(
	TrainingResult trainingResult
)
Public Shared Function AsViewModel ( _
	trainingResult As TrainingResult _
) As TrainingResultViewModel
public:
static TrainingResultViewModel^ AsViewModel(
	TrainingResult^ trainingResult
)

Return Value

TrainingResultViewModel.

Exceptions


ExceptionCondition
ArgumentNullException