Export (0) Print
Expand All

ModelValidator Constructor

Called from constructors in derived classes to initialize the ModelValidator class.

Namespace:  System.Web.Mvc
Assembly:  System.Web.Mvc (in System.Web.Mvc.dll)

protected ModelValidator(
	ModelMetadata metadata,
	ControllerContext controllerContext
)

Parameters

metadata
Type: System.Web.Mvc.ModelMetadata

The metadata.

controllerContext
Type: System.Web.Mvc.ControllerContext

The controller context.

Show:
© 2015 Microsoft