Extensions..::..AsViewModel Method (Slide)

Ases the view model.

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

Syntax


public static SlideViewModel AsViewModel(
	Slide slide
)
Public Shared Function AsViewModel ( _
	slide As Slide _
) As SlideViewModel
public:
static SlideViewModel^ AsViewModel(
	Slide^ slide
)

Return Value

SlideViewModel.

Exceptions


ExceptionCondition
ArgumentNullException