Summary
validate as an asynchronous operation.
- Assembly
- Rocket
.Surgery .Extensions .FluentValidation .dll - Namespace
- Rocket
.Surgery .Extensions .FluentValidation - Containing Type
- Polymorphic
Property Validator <T>
Syntax
public override Task<IEnumerable<ValidationFailure>> ValidateAsync(PropertyValidatorContext context, CancellationToken cancellation)
Attributes
Type | Description |
---|---|
Async |
Parameters
Name | Type | Description |
---|---|---|
context | Property |
The context. |
cancellation | CancellationToken | The cancellation. |
Return Value
Type | Description |
---|---|
Task |
Task{IEnumerable{ValidationFailure}}. |