This topic has not yet been rated - Rate this topic

ValidatableObjectAdapter Class

Provides an object adapter that can be validated.

System.Object
  System.Web.Mvc.ModelValidator
    System.Web.Mvc.ValidatableObjectAdapter

Namespace:  System.Web.Mvc
Assembly:  System.Web.Mvc (in System.Web.Mvc.dll)
public class ValidatableObjectAdapter : ModelValidator

The ValidatableObjectAdapter type exposes the following members.

  Name Description
Public method ValidatableObjectAdapter Initializes a new instance of the ValidatableObjectAdapter class.
Top
  Name Description
Protected property ControllerContext Gets the controller context. (Inherited from ModelValidator.)
Public property IsRequired Gets or sets a value that indicates whether a model property is required. (Inherited from ModelValidator.)
Protected property Metadata Gets the metadata for the model validator. (Inherited from ModelValidator.)
Top
  Name Description
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetClientValidationRules When implemented in a derived class, returns metadata for client validation. (Inherited from ModelValidator.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString (Inherited from Object.)
Public method Validate Validates the specified object. (Overrides ModelValidator.Validate(Object).)
Top
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Did you find this helpful?
(1500 characters remaining)