Export (0) Print
Expand All

DataAnnotationsModelValidatorProvider.RegisterValidatableObjectAdapter Method

Registers an adapter to provide object validation.

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

public static void RegisterValidatableObjectAdapter(
	Type modelType,
	Type adapterType
)

Parameters

modelType
Type: System.Type
The type of the model.
adapterType
Type: System.Type
The type of the adapter.
Show:
© 2014 Microsoft