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
context
ValidationContext<T>The validation context.
value
TPropertyThe value to validate.
Returns
- bool
true
if the value is valid; otherwise,false
.