RequiredMemberModelValidator Class

 

Represents the ModelValidator for required members.

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

System::Object
  System.Web.Http.Validation::ModelValidator
    System.Web.Http.Validation.Validators::RequiredMemberModelValidator

public ref class RequiredMemberModelValidator : ModelValidator

NameDescription
System_CAPS_pubmethodRequiredMemberModelValidator(IEnumerable<ModelValidatorProvider^>^)

Initializes a new instance of the RequiredMemberModelValidator class.

NameDescription
System_CAPS_pubpropertyIsRequired

Gets or sets a value that instructs the serialization engine that the member must be presents when validating.(Overrides ModelValidator::IsRequired.)

System_CAPS_protpropertyValidatorProviders

Gets or sets an enumeration of validator providers.(Inherited from ModelValidator.)

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_pubmethodToString()

(Inherited from Object.)

System_CAPS_pubmethodValidate(ModelMetadata^, Object^)

Validates the object.(Overrides ModelValidator::Validate(ModelMetadata^, 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: