ValidatableObjectAdapter ValidatableObjectAdapter ValidatableObjectAdapter Class

Definition

Provides an object adapter that can be validated.

public class ValidatableObjectAdapter : System.Web.Mvc.ModelValidator
type ValidatableObjectAdapter = class
    inherit ModelValidator
Public Class ValidatableObjectAdapter
Inherits ModelValidator
Inheritance
ValidatableObjectAdapterValidatableObjectAdapterValidatableObjectAdapter

Constructors

ValidatableObjectAdapter(ModelMetadata, ControllerContext) ValidatableObjectAdapter(ModelMetadata, ControllerContext) ValidatableObjectAdapter(ModelMetadata, ControllerContext)

Initializes a new instance of the ValidatableObjectAdapter class.

Methods

GetClientValidationRules() GetClientValidationRules() GetClientValidationRules()

When implemented in a derived class, returns metadata for client validation.

(Inherited from ModelValidator)
Validate(Object) Validate(Object) Validate(Object)

Validates the specified object.

Properties

ControllerContext ControllerContext ControllerContext

Gets the controller context.

(Inherited from ModelValidator)
IsRequired IsRequired IsRequired

Gets or sets a value that indicates whether a model property is required.

(Inherited from ModelValidator)
Metadata Metadata Metadata

Gets the metadata for the model validator.

(Inherited from ModelValidator)

Applies to