Implements the default validation provider for ASP.NET MVC.
Assembly: System.Web.Mvc (in System.Web.Mvc.dll)
Initializes a new instance of theclass.
Gets or sets a value that indicates whether non-nullable value types are required.
A validation provider provides validators for the data model. This class is an implementation of the AssociatedValidatorProvider class. It provides validators for attributes which derive from ValidationAttribute and it provides a validator for types which implement IValidatableObject. To support client side validation, register adapters through the static methods of this class, or create validation attributes that implement IClientValidatable. The logic to support IClientValidatable is implemented in the DataAnnotationsModelValidator 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.