44 references to InvokeAsync
Aspire.Dashboard (39)
Components\Controls\ApplicationSummary.razor.cs (2)
183
await
InvokeAsync
(async () =>
845
private void OnViewPreferencesChanged() => _ =
InvokeAsync
(async () =>
Components\Controls\Chart\PlotlyChart.razor.cs (1)
230
_plotlyChart.
InvokeAsync
,
Components\Controls\TerminalWindowButton.razor.cs (2)
173
key =>
InvokeAsync
(() => _disposed ? Task.CompletedTask : OnWindowClosed.InvokeAsync(key)));
207
private Task OnOpenedAsync(string key, TerminalWindowOpenResult result) =>
InvokeAsync
(async () =>
Components\Dialogs\GenAIVisualizerDialog.razor.cs (1)
108
await
InvokeAsync
(async () =>
Components\Interactions\InteractionsProvider.cs (3)
270
await
InvokeAsync
(async () =>
500
await
InvokeAsync
(async () =>
578
await
InvokeAsync
(_interactionDialogReference.Dialog.CloseAsync);
Components\Layout\DashboardDialogProvider.cs (1)
41
await
InvokeAsync
(DialogService.DismissAllAsync);
Components\Layout\NavigationAvailabilityProvider.cs (3)
42
_telemetryResourcesSubscription = TelemetryRepository.OnNewResources(() =>
InvokeAsync
(() => ReportAvailabilityAsync(_cts.Token)));
53
await
InvokeAsync
(async () =>
65
await
InvokeAsync
(async () =>
Components\Layout\ResourceServiceConnectionProvider.cs (1)
53
await
InvokeAsync
(() => UpdateModalStateAsync(state));
Components\Layout\ResourcesLayout.razor.cs (1)
460
await
InvokeAsync
(async () =>
Components\Layout\TerminalDock.razor.cs (1)
473
await
InvokeAsync
(async () =>
Components\Legacy\Layout\ResourceTerminalsAvailabilityProvider.cs (2)
40
await
InvokeAsync
(async () =>
51
await
InvokeAsync
(async () =>
Components\Legacy\Pages\ConsoleLogs.razor.cs (3)
376
await
InvokeAsync
(async () =>
457
await
InvokeAsync
(_logViewerRef.SafeRefreshDataAsync);
1032
_ =
InvokeAsync
(_logViewerRef.SafeRefreshDataAsync);
Components\Legacy\Pages\Resources.razor.cs (4)
255
await
InvokeAsync
(_dataGrid.SafeRefreshDataAsync);
308
await
InvokeAsync
(async () =>
487
await resources.
InvokeAsync
(async () =>
500
await resources.
InvokeAsync
(async () =>
Components\Legacy\Pages\Terminals.razor.cs (1)
138
await
InvokeAsync
(async () =>
Components\Legacy\Pages\TraceDetail.razor.cs (2)
369
_tracesSubscription = TelemetryRepository.OnNewTraces(_trace.FirstSpan.Source.ResourceKey, SubscriptionType.Read, () =>
InvokeAsync
(async () =>
626
await
InvokeAsync
(_dataGrid.SafeRefreshDataAsync);
Components\Pages\ConsoleLogs.razor.cs (3)
420
await
InvokeAsync
(async () =>
548
await
InvokeAsync
(_logViewerRef.SafeRefreshDataAsync);
1146
_ =
InvokeAsync
(_logViewerRef.SafeRefreshDataAsync);
Components\Pages\Resources.razor.cs (5)
256
await
InvokeAsync
(_dataGrid.SafeRefreshDataAsync);
309
await
InvokeAsync
(async () =>
487
await resources.
InvokeAsync
(async () =>
500
await resources.
InvokeAsync
(async () =>
975
_ =
InvokeAsync
(async () =>
Components\Pages\Terminals.razor.cs (1)
158
await
InvokeAsync
(async () =>
Components\Pages\TraceDetail.razor.cs (2)
395
_tracesSubscription = TelemetryRepository.OnNewTraces(_trace.FirstSpan.Source.ResourceKey, SubscriptionType.Read, () =>
InvokeAsync
(async () =>
652
await
InvokeAsync
(_dataGrid.SafeRefreshDataAsync);
Microsoft.AspNetCore.Components.QuickGrid (4)
Pagination\Paginator.razor.cs (1)
91
await
InvokeAsync
(async () =>
QuickGrid.razor.cs (3)
432
await
InvokeAsync
(async () =>
442
await
InvokeAsync
(async () =>
495
/// <see cref="ComponentBase.
InvokeAsync
(Func{Task})"/>.
Microsoft.AspNetCore.Components.Web (1)
Virtualization\Virtualize.cs (1)
243
/// <see cref="ComponentBase.
InvokeAsync
(Func{Task})"/> to await completion.