Struct OrValidatorResult<TResult>
- Namespace
- LfrlAnvil.Validation.Validators
- Assembly
- LfrlAnvil.Validation.dll
Represents a result of OrCompositeValidator<T, TResult> validator.
public readonly struct OrValidatorResult<TResult>
Type Parameters
TResult
Result type.
- Inherited Members
Constructors
OrValidatorResult(Chain<TResult>)
Creates a new OrValidatorResult<TResult> instance.
public OrValidatorResult(Chain<TResult> result)
Parameters
result
Chain<TResult>Underlying result.
Properties
Result
Underlying result.
public Chain<TResult> Result { get; }
Property Value
- Chain<TResult>
Methods
ToString()
Returns a string representation of this OrValidatorResult<TResult> instance.
[Pure]
public override string ToString()
Returns
- string
String representation.