41 references to InvokeAsync
Aspire.Dashboard (36)
Components\Controls\ApplicationSummary.razor.cs (3)
240await InvokeAsync(async () => 951private void OnTagsChanged() => _ = InvokeAsync(UpdateResourceGraphResourcesAsync); 954private void OnViewPreferencesChanged() => _ = InvokeAsync(async () =>
Components\Controls\Chart\PlotlyChart.razor.cs (1)
230_plotlyChart.InvokeAsync,
Components\Controls\TerminalWindowButton.razor.cs (2)
177key => InvokeAsync(() => _disposed ? Task.CompletedTask : OnWindowClosed.InvokeAsync(key))); 211private Task OnOpenedAsync(string key, TerminalWindowOpenResult result) => InvokeAsync(async () =>
Components\Dialogs\GenAIVisualizerDialog.razor.cs (1)
108await InvokeAsync(async () =>
Components\Interactions\InteractionsProvider.cs (3)
282await InvokeAsync(async () => 517await InvokeAsync(async () => 571await InvokeAsync(_interactionDialogReference.Dialog.CloseAsync);
Components\Layout\DashboardDialogProvider.cs (1)
54await InvokeAsync(() =>
Components\Layout\NavigationAvailabilityProvider.cs (3)
42_telemetryResourcesSubscription = TelemetryRepository.OnNewResources(() => InvokeAsync(() => ReportAvailabilityAsync(_cts.Token))); 53await InvokeAsync(async () => 65await InvokeAsync(async () =>
Components\Layout\ResourceServiceConnectionProvider.cs (1)
53await InvokeAsync(() => UpdateModalStateAsync(state));
Components\Layout\ResourcesLayout.razor.cs (2)
473await InvokeAsync(async () => 2768internal Task SelectGraphTagGroupAsync(string tagName, MouseEventArgs e, IEnumerable<ResourceViewModel> graphResources, bool showHiddenResources) => InvokeAsync(async () =>
Components\Layout\TerminalDock.razor.cs (1)
473await InvokeAsync(async () =>
Components\Legacy\Layout\ResourceTerminalsAvailabilityProvider.cs (2)
40await InvokeAsync(async () => 51await InvokeAsync(async () =>
Components\Legacy\Pages\ConsoleLogs.razor.cs (3)
376await InvokeAsync(async () => 457await InvokeAsync(_logViewerRef.SafeRefreshDataAsync); 1029_ = InvokeAsync(_logViewerRef.SafeRefreshDataAsync);
Components\Legacy\Pages\Resources.razor.cs (4)
244await InvokeAsync(_dataGrid.SafeRefreshDataAsync); 297await InvokeAsync(async () => 481await resources.InvokeAsync(async () => 494await resources.InvokeAsync(async () =>
Components\Legacy\Pages\Terminals.razor.cs (1)
138await InvokeAsync(async () =>
Components\Legacy\Pages\TraceDetail.razor.cs (2)
369_tracesSubscription = TelemetryRepository.OnNewTraces(_trace.FirstSpan.Source.ResourceKey, SubscriptionType.Read, () => InvokeAsync(async () => 626await InvokeAsync(_dataGrid.SafeRefreshDataAsync);
Components\Pages\ConsoleLogs.razor.cs (3)
427await InvokeAsync(async () => 573await InvokeAsync(_logViewerRef.SafeRefreshDataAsync); 1192_ = InvokeAsync(_logViewerRef.SafeRefreshDataAsync);
Components\Pages\Terminals.razor.cs (1)
158await InvokeAsync(async () =>
Components\Pages\TraceDetail.razor.cs (2)
390_tracesSubscription = TelemetryRepository.OnNewTraces(_trace.FirstSpan.Source.ResourceKey, SubscriptionType.Read, () => InvokeAsync(async () => 654await InvokeAsync(_dataGrid.SafeRefreshDataAsync);
Microsoft.AspNetCore.Components.QuickGrid (4)
Pagination\Paginator.razor.cs (1)
91await InvokeAsync(async () =>
QuickGrid.razor.cs (3)
432await InvokeAsync(async () => 442await 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.