DataAnnotationsModelValidatorProvider Class
Represents an implementation of ModelValidatorProvider which providers validators for attributes which derive from ValidationAttribute. It also provides a validator for types which implement IValidatableObject. To support client side validation, you can either register adapters through the static methods on this class, or by having your validation attributes implement T:System.Web.Http.Validation.IClientValidatable. The logic to support IClientValidatable is implemented in DataAnnotationsModelValidator.
Assembly: System.Web.Http (in System.Web.Http.dll)
System.Web.Http.Validation::ModelValidatorProvider
System.Web.Http.Validation.Providers::AssociatedValidatorProvider
System.Web.Http.Validation.Providers::DataAnnotationsModelValidatorProvider
| Name | Description | |
|---|---|---|
![]() | DataAnnotationsModelValidatorProvider() | Initializes a new instance of the DataAnnotationsModelValidatorProvider class. |
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

