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

Ases the view models.

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

Syntax


public static IList<CategoryViewModel> AsViewModels(
	IList<Category> categories
)
Public Shared Function AsViewModels ( _
	categories As IList(Of Category) _
) As IList(Of CategoryViewModel)
public:
static IList<CategoryViewModel^>^ AsViewModels(
	IList<Category^>^ categories
)

Parameters

categories
Type: IList<(Of <(<'Category>)>)>
The categories.

Return Value

IList<CategoryViewModel>.