Validator Methods
The Validator type exposes the following members.
| Name | Description | |
|---|---|---|
|
TryValidateObject(Object, ValidationContext, ICollection<ValidationResult>) | Determines whether the specified object is valid using the validation context and validation results collection. |
|
TryValidateObject(Object, ValidationContext, ICollection<ValidationResult>, Boolean) | Determines whether the specified object is valid using the validation context, validation results collection, and a value that specifies whether to validate all properties. |
|
TryValidateProperty | Validates the property. |
|
TryValidateValue | Returns a value that indicates whether the specified value is valid with the specified attributes. |
|
ValidateObject(Object, ValidationContext) | Determines whether the specified object is valid using the validation context. |
|
ValidateObject(Object, ValidationContext, Boolean) | Determines whether the specified object is valid using the validation context, and a value that specifies whether to validate all properties. |
|
ValidateProperty | Validates the property. |
|
ValidateValue | Validates the specified attributes. |