11 references to CloseAsync
Aspire.Dashboard (5)
Components\Interactions\InteractionsProvider.cs (2)
283await InvokeAsync(() => ParameterInteractionState.SetDialogInteraction(parameterDialogInteraction, dialogReference.CloseAsync)); 578await InvokeAsync(_interactionDialogReference.Dialog.CloseAsync);
Components\Layout\AspirePageContentLayout.razor.cs (1)
125await toolbarPanel.CloseAsync();
Components\Layout\MainLayout.razor.cs (1)
465await _openPageDialog.CloseAsync();
Components\Legacy\Layout\LegacyMainLayout.razor.cs (1)
413await _openPageDialog.CloseAsync();
Aspire.Dashboard.Components.Tests (6)
Dialogs\InteractionsTerminalDialogTests.cs (2)
91await dialog.CloseAsync().DefaultTimeout(); 124await dialog.CloseAsync().DefaultTimeout();
Dialogs\TelemetryHelpDialogTests.cs (1)
144await helpReference.CloseAsync();
Model\DashboardDialogServiceTests.cs (3)
102var closeTask = withResult ? reference.CloseAsync(DialogResult.Ok(true)) : reference.CloseAsync(); 137await reference.CloseAsync(); 153await reference.CloseAsync();