3 instantiations of ValidationRequestedEventArgs
Microsoft.AspNetCore.Components.Forms (3)
EditContext.cs (2)
241
OnValidationRequested?.Invoke(this, new
ValidationRequestedEventArgs
());
267
var args = new
ValidationRequestedEventArgs
{ IsAsync = true };
ValidationRequestedEventArgs.cs (1)
16
public static new readonly ValidationRequestedEventArgs Empty = new
ValidationRequestedEventArgs
();
10 references to ValidationRequestedEventArgs
Microsoft.AspNetCore.Components.Forms (9)
EditContext.cs (5)
49
/// <see cref="
ValidationRequestedEventArgs
.AddAsyncValidator(Func{CancellationToken, Task})"/>, for example
56
public event EventHandler<
ValidationRequestedEventArgs
>? OnValidationRequested;
232
/// <see cref="
ValidationRequestedEventArgs
.AddAsyncValidator(Func{CancellationToken, Task})"/> causes an
251
/// register via <see cref="
ValidationRequestedEventArgs
.AddAsyncValidator(Func{CancellationToken, Task})"/>.
267
var
args = new ValidationRequestedEventArgs { IsAsync = true };
EditContextDataAnnotationsExtensions.cs (1)
102
private void OnValidationRequested(object? sender,
ValidationRequestedEventArgs
e)
ValidationRequestedEventArgs.cs (3)
14
/// Gets a shared empty instance of <see cref="
ValidationRequestedEventArgs
"/>.
16
public static new readonly
ValidationRequestedEventArgs
Empty = new ValidationRequestedEventArgs();
19
/// Creates a new instance of <see cref="
ValidationRequestedEventArgs
"/>.
Microsoft.AspNetCore.Components.Web (1)
Forms\Mapping\EditContextFormMappingExtensions.cs (1)
50
private void OnValidationRequested(object? sender,
ValidationRequestedEventArgs
e)