ModelValidationNode Class

 

Provides a container for model validation information.

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

System::Object
  System.Web.Http.Validation::ModelValidationNode

public ref class ModelValidationNode sealed 

NameDescription
System_CAPS_pubmethodModelValidationNode(ModelMetadata^, String^)

Initializes a new instance of the ModelValidationNode class, using the model metadata and state key.

System_CAPS_pubmethodModelValidationNode(ModelMetadata^, String^, IEnumerable<ModelValidationNode^>^)

Initializes a new instance of the ModelValidationNode class, using the model metadata, the model state key, and child model-validation nodes.

NameDescription
System_CAPS_pubpropertyChildNodes

Gets or sets the child nodes.

System_CAPS_pubpropertyModelMetadata

Gets or sets the model metadata.

System_CAPS_pubpropertyModelStateKey

Gets or sets the model state key.

System_CAPS_pubpropertySuppressValidation

Gets or sets a value that indicates whether validation should be suppressed.

System_CAPS_pubpropertyValidateAllProperties

Gets or sets a value that indicates whether all properties of the model should be validated.

NameDescription
System_CAPS_pubmethodCombineWith(ModelValidationNode^)

Combines the current ModelValidationNode instance with a specified ModelValidationNode instance.

System_CAPS_pubmethodEquals(Object^)

(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_pubmethodToString()

(Inherited from Object.)

System_CAPS_pubmethodValidate(HttpActionContext^)

Validates the model using the specified execution context.

System_CAPS_pubmethodValidate(HttpActionContext^, ModelValidationNode^)

Validates the model using the specified execution context and parent node.

NameDescription
System_CAPS_pubeventValidated

Occurs when the model has been validated.

System_CAPS_pubeventValidating

Occurs when the model is being validated.

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: