DefaultBodyModelValidator Class

 

Represents a class used to recursively validate an object.

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

System::Object
  System.Web.Http.Validation::DefaultBodyModelValidator

public ref class DefaultBodyModelValidator : IBodyModelValidator

NameDescription
System_CAPS_pubmethodDefaultBodyModelValidator()

Initializes a new instance of the DefaultBodyModelValidator class.

NameDescription
System_CAPS_pubmethodEquals(Object^)

(Inherited from Object.)

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethodShouldValidateType(Type^)

Determines whether instances of a particular type should be validated.

System_CAPS_pubmethodToString()

(Inherited from Object.)

System_CAPS_pubmethodValidate(Object^, Type^, ModelMetadataProvider^, HttpActionContext^, String^)

Determines whether the model is valid and adds any validation errors to the actionContext's ModelStateDictionary.

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: