Interface IValidator<T, TResult>
- Namespace
- LfrlAnvil.Validation
- Assembly
- LfrlAnvil.Validation.dll
Represents a generic object validator.
public interface IValidator<in T, TResult>
Type Parameters
T
Object type.
TResult
Result type.
- Extension Methods
Methods
Validate(T)
Validates the provided obj
.
[Pure]
Chain<TResult> Validate(T obj)
Parameters
obj
TObject to validate.
Returns
- Chain<TResult>
Result of
obj
validation.