ModelValidationNode Class

 

Provides a container for model validation information.

Namespace:   Microsoft.Web.Mvc.ModelBinding
Assembly:  Microsoft.Web.Mvc (in Microsoft.Web.Mvc.dll)

System.Object
  Microsoft.Web.Mvc.ModelBinding.ModelValidationNode

public sealed class ModelValidationNode

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 the child nodes.

System_CAPS_pubpropertyModelMetadata

Gets the model metadata.

System_CAPS_pubpropertyModelStateKey

Gets 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(ControllerContext)

Validates the model using the specified controller context.

System_CAPS_pubmethodValidate(ControllerContext, ModelValidationNode)

Validates the model using the specified controller 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: