.NET Framework Class Library
DataErrorInfoModelValidatorProvider Class
Provides a container for the error-information model validator.
Inheritance Hierarchy
System.Object
System.Web.Mvc.ModelValidatorProvider
System.Web.Mvc.DataErrorInfoModelValidatorProvider
Namespace: System.Web.Mvc
Assembly: System.Web.Mvc (in System.Web.Mvc.dll)
Syntax
Visual Basic (Declaration)
Public Class DataErrorInfoModelValidatorProvider _ Inherits ModelValidatorProvider
Visual Basic (Usage)
Dim instance As DataErrorInfoModelValidatorProvider
C#
public class DataErrorInfoModelValidatorProvider : ModelValidatorProvider
Visual C++
public ref class DataErrorInfoModelValidatorProvider : public ModelValidatorProvider
JScript
public class DataErrorInfoModelValidatorProvider extends ModelValidatorProvider
The DataErrorInfoModelValidatorProvider type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
|
DataErrorInfoModelValidatorProvider | Initializes a new instance of the DataErrorInfoModelValidatorProvider class. |
Methods
| Name | Description | |
|---|---|---|
|
Equals | (Inherited from Object.) |
|
Finalize | (Inherited from Object.) |
|
GetHashCode | (Inherited from Object.) |
|
GetType | (Inherited from Object.) |
|
GetValidators | Gets a list of error-information model validators. (Overrides ModelValidatorProvider.GetValidators(ModelMetadata, ControllerContext).) |
|
MemberwiseClone | (Inherited from Object.) |
|
ToString | (Inherited from Object.) |
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.See Also