Export (0) Print
Expand All

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.

  NameDescription
Public methodValidatableObjectAdapterInitializes a new instance of the ValidatableObjectAdapter class.
Top

  NameDescription
Protected propertyControllerContextGets the controller context. (Inherited from ModelValidator.)
Public propertyIsRequiredGets or sets a value that indicates whether a model property is required. (Inherited from ModelValidator.)
Protected propertyMetadataGets the metadata for the model validator. (Inherited from ModelValidator.)
Top

  NameDescription
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetClientValidationRulesWhen implemented in a derived class, returns metadata for client validation. (Inherited from ModelValidator.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodToString (Inherited from Object.)
Public methodValidateValidates 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.
Show:
© 2014 Microsoft