ValidatableObjectAdapter Class
Provides an object adapter that can be validated.
Namespace: System.Web.Mvc
Assembly: System.Web.Mvc (in System.Web.Mvc.dll)
The ValidatableObjectAdapter type exposes the following members.
| Name | Description | |
|---|---|---|
|
ValidatableObjectAdapter | Initializes a new instance of the ValidatableObjectAdapter class. |
| Name | Description | |
|---|---|---|
|
ControllerContext | Gets the controller context. (Inherited from ModelValidator.) |
|
IsRequired | Gets or sets a value that indicates whether a model property is required. (Inherited from ModelValidator.) |
|
Metadata | Gets the metadata for the model validator. (Inherited from ModelValidator.) |
| Name | Description | |
|---|---|---|
|
Equals | (Inherited from Object.) |
|
Finalize | (Inherited from Object.) |
|
GetClientValidationRules | When implemented in a derived class, returns metadata for client validation. (Inherited from ModelValidator.) |
|
GetHashCode | (Inherited from Object.) |
|
GetType | (Inherited from Object.) |
|
MemberwiseClone | (Inherited from Object.) |
|
ToString | (Inherited from Object.) |
|
Validate | Validates the specified object. (Overrides ModelValidator.Validate(Object).) |