Implemented interface member:
method
ValidateAsync
Microsoft.Extensions.Validation.IValidatableInfo.ValidateAsync(System.Object, Microsoft.Extensions.Validation.ValidateContext, System.Threading.CancellationToken)
12 references to ValidateAsync
Microsoft.Extensions.Validation.Tests (12)
ValidatableTypeInfoTests.cs (12)
60
await personType.
ValidateAsync
(personWithMissingRequiredFields, context, default);
151
await employeeType.
ValidateAsync
(employee, context, default);
202
await derivedType.
ValidateAsync
(car, context, default);
267
await orderType.
ValidateAsync
(order, context, default);
317
await personType.
ValidateAsync
(person, context, default);
372
async () => await nodeType.
ValidateAsync
(rootNode, context, default));
400
await productType.
ValidateAsync
(product, context, default);
435
await userType.
ValidateAsync
(user, context, default);
484
await derivedType.
ValidateAsync
(entity, context, default);
523
await userType.
ValidateAsync
(user, context, default);
550
await globalType.
ValidateAsync
(globalErrorInstance, context, default);
573
await multiType.
ValidateAsync
(multiErrorInstance, context, default);