DataAnnotationsModelValidatorProvider.RegisterValidatableObjectAdapterFactory Method (Type, DataAnnotationsValidatableObjectAdapterFactory)

 

Registers an adapter factory for the object validation provider.

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.

factory
Type: System.Web.Mvc.DataAnnotationsValidatableObjectAdapterFactory

The factory.

Return to top
Show: