IValidationRule
Defines a rule associated with a property which can have multiple validators.
Name of the rule-set to which this rule belongs.
The validators that are grouped under this rule.
Applies a condition to the rule asynchronously
Applies a condition to the rule
Performs validation using a validation context and returns a collection of Validation Failures.
Task<IEnumerable<ValidationFailure>> ValidateAsync(ValidationContext context, CancellationToken cancellation)
Performs validation using a validation context and returns a collection of Validation Failures asynchronoulsy.