Method IsValid
- Namespace
- Innova.Data.Validation
- Assembly
- Innova.Data.dll
IsValid(ValidationContext<T>, TProperty)
Determines whether the specified value is valid.
public override bool IsValid(ValidationContext<T> context, TProperty value)
Parameters
contextValidationContext<T>The validation context.
valueTPropertyThe value to validate.
Returns
- bool
trueif the value is valid; otherwise,false.