2 instantiations of ValidationRequestedEventArgs
Microsoft.AspNetCore.Components.Forms (2)
EditContext.cs (1)
341
? new
ValidationRequestedEventArgs
(cancellationToken)
ValidationRequestedEventArgs.cs (1)
14
public static new readonly ValidationRequestedEventArgs Empty = new
ValidationRequestedEventArgs
();
16 references to ValidationRequestedEventArgs
Microsoft.AspNetCore.Components.Forms (15)
EditContext.cs (10)
58
public event EventHandler<
ValidationRequestedEventArgs
>? OnValidationRequested;
71
public event Func<object,
ValidationRequestedEventArgs
, Task>? OnValidationRequestedAsync;
259
OnValidationRequested?.Invoke(this,
ValidationRequestedEventArgs
.Empty);
266
var 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"/>.
334
OnValidationRequested?.Invoke(this,
ValidationRequestedEventArgs
.Empty);
340
var
args = cancellationToken.CanBeCanceled
342
:
ValidationRequestedEventArgs
.Empty;
351
tasks[i] = ((Func<object,
ValidationRequestedEventArgs
, Task>)delegates[i])
EditContextDataAnnotationsExtensions.cs (1)
99
private async Task OnValidationRequestedAsync(object sender,
ValidationRequestedEventArgs
e)
ValidationRequestedEventArgs.cs (4)
12
/// Gets a shared empty instance of <see cref="
ValidationRequestedEventArgs
"/>.
14
public 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)
50
private void OnValidationRequested(object? sender,
ValidationRequestedEventArgs
e)