ValidatableObjectAdapter Constructor (ModelMetadata, ControllerContext)

 

Initializes a new instance of the ValidatableObjectAdapter class.

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

public ValidatableObjectAdapter(
	ModelMetadata metadata,
	ControllerContext context
)

Parameters

metadata
Type: System.Web.Mvc.ModelMetadata

The model metadata.

context
Type: System.Web.Mvc.ControllerContext

The controller context.

Return to top
Show: