ValidatableObjectAdapter Class

 

Provides an object adapter that can be validated.

Namespace:   System.Web.Mvc
Assembly:  System.Web.Mvc (in System.Web.Mvc.dll)

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

public ref class ValidatableObjectAdapter : ModelValidator

NameDescription
System_CAPS_pubmethodValidatableObjectAdapter(ModelMetadata^, ControllerContext^)

Initializes a new instance of the ValidatableObjectAdapter class.

NameDescription
System_CAPS_protpropertyControllerContext

Gets the controller context.(Inherited from ModelValidator.)

System_CAPS_pubpropertyIsRequired

Gets or sets a value that indicates whether a model property is required.(Inherited from ModelValidator.)

System_CAPS_protpropertyMetadata

Gets the metadata for the model validator.(Inherited from ModelValidator.)

NameDescription
System_CAPS_pubmethodEquals(Object^)

(Inherited from Object.)

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodGetClientValidationRules()

When implemented in a derived class, returns metadata for client validation.(Inherited from ModelValidator.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethodToString()

(Inherited from Object.)

System_CAPS_pubmethodValidate(Object^)

Validates the specified object.(Overrides ModelValidator::Validate(Object^).)

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: