ModelValidator Class

 

Provides a base class for implementing validation logic.

Namespace:   System.Web.Http.Validation
Assembly:  System.Web.Http (in System.Web.Http.dll)


public ref class ModelValidator abstract 

NameDescription
System_CAPS_protmethodModelValidator(IEnumerable<ModelValidatorProvider^>^)

Initializes a new instance of the ModelValidator class.

NameDescription
System_CAPS_pubpropertyIsRequired

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

System_CAPS_protpropertyValidatorProviders

Gets or sets an enumeration of validator providers.

NameDescription
System_CAPS_pubmethodEquals(Object^)

(Inherited from Object.)

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodSystem_CAPS_staticGetModelValidator(IEnumerable<ModelValidatorProvider^>^)

Returns a composite model validator for the model.

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethodToString()

(Inherited from Object.)

System_CAPS_pubmethodValidate(ModelMetadata^, Object^)

Validates a specified 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: