Interface IValidator<T>
Defines a contract for validators that can validate values of type T.
Namespace: ValidationFramework
Assembly: ValidationFramework.dll
Syntax
public interface IValidator<T>
Type Parameters
| Name | Description |
|---|---|
| T | The type of value to validate. |
Methods
| Edit this page View SourceValidate(T)
Validates the specified value.
Declaration
ValidationResult Validate(T value)
Parameters
| Type | Name | Description |
|---|---|---|
| T | value | The value to validate. |
Returns
| Type | Description |
|---|---|
| ValidationResult | A ValidationResult indicating whether the validation succeeded. |