2 instantiations of ValidationRequestedEventArgs
Microsoft.AspNetCore.Components.Forms (2)
EditContext.cs (1)
341? new ValidationRequestedEventArgs(cancellationToken)
ValidationRequestedEventArgs.cs (1)
14public static new readonly ValidationRequestedEventArgs Empty = new ValidationRequestedEventArgs();
16 references to ValidationRequestedEventArgs
Microsoft.AspNetCore.Components.Forms (15)
EditContext.cs (10)
58public event EventHandler<ValidationRequestedEventArgs>? OnValidationRequested; 71public event Func<object, ValidationRequestedEventArgs, Task>? OnValidationRequestedAsync; 259OnValidationRequested?.Invoke(this, ValidationRequestedEventArgs.Empty); 266var task = ((Func<object, ValidationRequestedEventArgs, Task>)delegates[i]) 267.Invoke(this, ValidationRequestedEventArgs.Empty) 301/// The token is exposed to async handlers via <see cref="ValidationRequestedEventArgs.CancellationToken"/>. 334OnValidationRequested?.Invoke(this, ValidationRequestedEventArgs.Empty); 340var args = cancellationToken.CanBeCanceled 342: ValidationRequestedEventArgs.Empty; 351tasks[i] = ((Func<object, ValidationRequestedEventArgs, Task>)delegates[i])
EditContextDataAnnotationsExtensions.cs (1)
99private async Task OnValidationRequestedAsync(object sender, ValidationRequestedEventArgs e)
ValidationRequestedEventArgs.cs (4)
12/// Gets a shared empty instance of <see cref="ValidationRequestedEventArgs"/>. 14public static new readonly ValidationRequestedEventArgs Empty = new ValidationRequestedEventArgs(); 17/// Creates a new instance of <see cref="ValidationRequestedEventArgs"/>. 24/// Creates a new instance of <see cref="ValidationRequestedEventArgs"/> with the specified
Microsoft.AspNetCore.Components.Web (1)
Forms\Mapping\EditContextFormMappingExtensions.cs (1)
50private void OnValidationRequested(object? sender, ValidationRequestedEventArgs e)