DataAnnotationsModelValidatorProvider.RegisterValidatableObjectAdapterFactory Method (Type, DataAnnotationsValidatableObjectAdapterFactory)
Registers an adapter factory for the object validation provider.
Assembly: System.Web.Mvc (in System.Web.Mvc.dll)
Parameters
- modelType
-
Type:
System.Type
The type of the model.
- factory
-
Type:
System.Web.Mvc.DataAnnotationsValidatableObjectAdapterFactory
The factory.
Show: