ModelValidationNode Class
Provides a container for model validation information.
Assembly: Microsoft.Web.Mvc (in Microsoft.Web.Mvc.dll)
| Name | Description | |
|---|---|---|
![]() | ModelValidationNode(ModelMetadata, String) | Initializes a new instance of the ModelValidationNode class, using the model metadata and state key. |
![]() | ModelValidationNode(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. |
| Name | Description | |
|---|---|---|
![]() | ChildNodes | Gets the child nodes. |
![]() | ModelMetadata | Gets the model metadata. |
![]() | ModelStateKey | Gets the model state key. |
![]() | SuppressValidation | Gets or sets a value that indicates whether validation should be suppressed. |
![]() | ValidateAllProperties | Gets or sets a value that indicates whether all properties of the model should be validated. |
| Name | Description | |
|---|---|---|
![]() | CombineWith(ModelValidationNode) | Combines the current ModelValidationNode instance with a specified ModelValidationNode instance. |
![]() | Equals(Object) | (Inherited from Object.) |
![]() | GetHashCode() | (Inherited from Object.) |
![]() | GetType() | (Inherited from Object.) |
![]() | ToString() | (Inherited from Object.) |
![]() | Validate(ControllerContext) | Validates the model using the specified controller context. |
![]() | Validate(ControllerContext, ModelValidationNode) | Validates the model using the specified controller context and parent node. |
| Name | Description | |
|---|---|---|
![]() | Validated | Occurs when the model has been validated. |
![]() | Validating | 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.


