48 references to InvokeAsync
Aspire.Dashboard (2)
Components\Controls\PropertyGrid.razor.cs (1)
150await IsValueMaskedChanged.InvokeAsync(item);
Components\Controls\ResourceSelect.razor.cs (1)
38await SelectedResourceChanged.InvokeAsync(SelectedResource);
Microsoft.AspNetCore.Components (2)
EventCallbackOfT.cs (1)
63public Task InvokeAsync() => InvokeAsync(default!);
Routing\Router.cs (1)
303var task = await Task.WhenAny(OnNavigateAsync.InvokeAsync(navigateContext), cancellationTcs.Task);
Microsoft.AspNetCore.Components.QuickGrid (1)
Infrastructure\EventCallbackSubscribable.cs (1)
23await callback.InvokeAsync(eventArg);
Microsoft.AspNetCore.Components.Tests (37)
EventCallbackFactoryBinderExtensionsTest.cs (33)
23await binder.InvokeAsync(new ChangeEventArgs() { Value = "not-an-integer!", }); 40await binder.InvokeAsync(new ChangeEventArgs() { Value = string.Empty, }); 58return binder.InvokeAsync(new ChangeEventArgs() { Value = "18", }); 75await binder.InvokeAsync(new ChangeEventArgs() { Value = "not-an-integer!", }); 92await binder.InvokeAsync(new ChangeEventArgs() { Value = "", }); 111await binder.InvokeAsync(new ChangeEventArgs() { Value = expectedValue, }); 130await binder.InvokeAsync(new ChangeEventArgs() { Value = true, }); 149await binder.InvokeAsync(new ChangeEventArgs() { Value = true, }); 168await binder.InvokeAsync(new ChangeEventArgs() { Value = "42", }); 187await binder.InvokeAsync(new ChangeEventArgs() { Value = "42", }); 206await binder.InvokeAsync(new ChangeEventArgs() { Value = "42", }); 225await binder.InvokeAsync(new ChangeEventArgs() { Value = "42", }); 244await binder.InvokeAsync(new ChangeEventArgs() { Value = "42", }); 263await binder.InvokeAsync(new ChangeEventArgs() { Value = "42", }); 282await binder.InvokeAsync(new ChangeEventArgs() { Value = "42", }); 301await binder.InvokeAsync(new ChangeEventArgs() { Value = "42", }); 320await binder.InvokeAsync(new ChangeEventArgs() { Value = "42", }); 339await binder.InvokeAsync(new ChangeEventArgs() { Value = "42", }); 358await binder.InvokeAsync(new ChangeEventArgs() { Value = expectedValue.ToString(), }); 377await binder.InvokeAsync(new ChangeEventArgs() { Value = expectedValue.ToString(), }); 396await binder.InvokeAsync(new ChangeEventArgs() { Value = expectedValue.ToString(CultureInfo.CurrentCulture), }); 415await binder.InvokeAsync(new ChangeEventArgs() { Value = expectedValue.ToString(CultureInfo.CurrentCulture), }); 435await binder.InvokeAsync(new ChangeEventArgs() { Value = expectedValue.ToString(format, CultureInfo.InvariantCulture), }); 455await binder.InvokeAsync(new ChangeEventArgs() { Value = expectedValue.ToString(format, CultureInfo.InvariantCulture), }); 474await binder.InvokeAsync(new ChangeEventArgs() { Value = expectedValue.ToString(CultureInfo.CurrentCulture), }); 493await binder.InvokeAsync(new ChangeEventArgs() { Value = expectedValue.ToString(CultureInfo.CurrentCulture), }); 513await binder.InvokeAsync(new ChangeEventArgs() { Value = expectedValue.ToString(format, CultureInfo.InvariantCulture), }); 533await binder.InvokeAsync(new ChangeEventArgs() { Value = expectedValue.ToString(format, CultureInfo.InvariantCulture), }); 553await binder.InvokeAsync(new ChangeEventArgs() { Value = expectedValue.ToString(), }); 573await binder.InvokeAsync(new ChangeEventArgs() { Value = expectedValue.ToString(), }); 592await binder.InvokeAsync(new ChangeEventArgs() { Value = expectedValue.ToString(), }); 627await binder.InvokeAsync(new ChangeEventArgs() { Value = "42 000,00", }); 646await binder.InvokeAsync(new ChangeEventArgs() { Value = "42,000.00", });
EventCallbackTest.cs (4)
301await callback.InvokeAsync(new EventArgs()); 338await callback.InvokeAsync(new EventArgs()); 373await callback.InvokeAsync(new EventArgs()); 410await callback.InvokeAsync(new EventArgs());
Microsoft.AspNetCore.Components.Web (6)
Forms\EditForm.cs (3)
199await OnSubmit.InvokeAsync(_editContext); 208await OnValidSubmit.InvokeAsync(_editContext); 213await OnInvalidSubmit.InvokeAsync(_editContext);
Forms\InputBase.cs (1)
97_ = ValueChanged.InvokeAsync(Value);
Forms\InputFile.cs (1)
96return OnChange.InvokeAsync(new InputFileChangeEventArgs(files));
Routing\NavigationLock.cs (1)
101await OnBeforeInternalNavigation.InvokeAsync(context);