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 function RegisterValidatableObjectAdapter( modelType : Type, adapterType : Type )
Parameters
- modelType
- Type: System.Type
The type of the model.
- adapterType
- Type: System.Type
The type of the adapter.
Show: