Interface IValidator<TValue>
- Namespace
- Olve.Validation
- Assembly
- Olve.Validation.dll
Represents a validator for values of type TValue.
public interface IValidator<in TValue>
Type Parameters
TValueType of value being validated.
Methods
Validate(TValue)
Validates the specified value.
Result Validate(TValue value)
Parameters
valueTValueValue to validate.
Returns
- Result
Validation result.