ValidatableObjectAdapter Class
Provides an adapter for objects that implement the IValidatableObject interface.
Assembly: System.Web (in System.Web.dll)
System.Web.ModelBinding::ModelValidator
System.Web.ModelBinding::ValidatableObjectAdapter
| Name | Description | |
|---|---|---|
![]() | ValidatableObjectAdapter(ModelMetadata^, ModelBindingExecutionContext^) | Initializes a new instance of the ValidatableObjectAdapter class. |
| Name | Description | |
|---|---|---|
![]() | IsRequired | When implemented in a derived class, gets a value that indicates whether the model is required.(Inherited from ModelValidator.) |
![]() | Metadata | When implemented in a derived class, gets the metadata for the model validator.(Inherited from ModelValidator.) |
![]() | ModelBindingExecutionContext | When implemented in a derived class, gets the execution context.(Inherited from ModelValidator.) |
| Name | Description | |
|---|---|---|
![]() | Equals(Object^) | Determines whether the specified object is equal to the current object.(Inherited from Object.) |
![]() | Finalize() | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.) |
![]() | GetHashCode() | Serves as the default hash function. (Inherited from Object.) |
![]() | GetType() | |
![]() | MemberwiseClone() | |
![]() | ToString() | Returns a string that represents the current object.(Inherited from Object.) |
![]() | Validate(Object^) | Validates the specified object.(Overrides ModelValidator::Validate(Object^).) |
Available since 4.5
Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.



