DataAnnotationsModelValidatorProvider.RegisterValidatableObjectAdapter Method (Type, Type)

 

Registers an adapter to provide object validation.

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

No code example is currently available or this language may not be supported.

Parameters

modelType
Type: System.Type

The type of the model.

adapterType
Type: System.Type

The type of the adapter.

Return to top
Show: