Validation |
public class ValidationEventArgs<T> : EventArgs
The ValidationEventArgsT type exposes the following members.
| Name | Description | |
|---|---|---|
| ValidationEventArgsT(T) | Initializes a new instance of the ValidationEventArgsT class. | |
| ValidationEventArgsT(T, CultureInfo) | Initializes a new instance of the ValidationEventArgsT class. |
| Name | Description | |
|---|---|---|
| Cancel | Gets a value indicating whether validation should be canceled. | |
| CultureInfo | Gets the culture information to use during validation. | |
| ErrorText | Gets the concatenated validation error text. | |
| HasErrors | Gets a value indicating whether any validation errors have been collected. | |
| ValueToValidate | Gets the value to validate. |
| Name | Description | |
|---|---|---|
| AddError | Adds an error message to the validation result. | |
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object) | |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object) | |
| GetHashCode | Serves as the default hash function. (Inherited from Object) | |
| GetType | Gets the Type of the current instance. (Inherited from Object) | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object) | |
| ToString | Returns a string that represents the current object. (Inherited from Object) |