Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

ModelValidator Constructor (ModelMetadata, ControllerContext)

 

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.

Return to top
Show:
© 2015 Microsoft