13 references to AsyncValidationAttribute
System.ComponentModel.Annotations (13)
System\ComponentModel\DataAnnotations\AsyncValidationAttribute.cs (1)
79/// <see cref="ValidationContext" /> overload so that <see cref="AsyncValidationAttribute" /> implementations
System\ComponentModel\DataAnnotations\ValidationAttribute.cs (1)
142/// <see cref="AsyncValidationAttribute.GetValidationResultAsync(object?, ValidationContext, System.Threading.CancellationToken)" />
System\ComponentModel\DataAnnotations\Validator.cs (11)
339/// Any <see cref="AsyncValidationAttribute" /> instances will be evaluated asynchronously after all synchronous 481/// Any <see cref="AsyncValidationAttribute" /> instances will be evaluated asynchronously after all synchronous 819List<AsyncValidationAttribute>? asyncAttributes = null; 843if (attr is AsyncValidationAttribute asyncAttr) 845(asyncAttributes ??= new List<AsyncValidationAttribute>()).Add(asyncAttr); 867var tasks = new List<Task<(AsyncValidationAttribute Attr, ValidationResult? Result)>>(asyncAttributes.Count); 868foreach (AsyncValidationAttribute asyncAttr in asyncAttributes) 877Task<(AsyncValidationAttribute Attr, ValidationResult? Result)> completed = 881(AsyncValidationAttribute attr, ValidationResult? result) completedResult; 923private static async Task<(AsyncValidationAttribute Attr, ValidationResult? Result)> RunAsyncValidation( 924AsyncValidationAttribute attr,