Extensions..::..AsViewModels Method (IList<(Of <(<'TrainingResult>)>)>)

Ases the view models.

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

Syntax


public static IList<TrainingResultViewModel> AsViewModels(
	IList<TrainingResult> trainingResults
)
Public Shared Function AsViewModels ( _
	trainingResults As IList(Of TrainingResult) _
) As IList(Of TrainingResultViewModel)
public:
static IList<TrainingResultViewModel^>^ AsViewModels(
	IList<TrainingResult^>^ trainingResults
)

Parameters

trainingResults
Type: IList<(Of <(<'TrainingResult>)>)>
The training results.

Return Value

IList<TrainingResultViewModel>.