5 writes to _openPageDialog
Aspire.Dashboard (5)
Components\Layout\MainLayout.razor.cs (5)
245
_openPageDialog
= await DialogService.ShowDialogAsync<McpServerDialog>(parameters).ConfigureAwait(true);
275
_openPageDialog
= await DialogService.ShowDialogAsync<HelpDialog>(parameters).ConfigureAwait(true);
280
_openPageDialog
= null;
314
_openPageDialog
= await DialogService.ShowPanelAsync<SettingsDialog>(parameters).ConfigureAwait(true);
318
_openPageDialog
= await DialogService.ShowDialogAsync<SettingsDialog>(parameters).ConfigureAwait(true);
12 references to _openPageDialog
Aspire.Dashboard (12)
Components\Layout\MainLayout.razor.cs (12)
235
if (
_openPageDialog
is not null)
237
if (Equals(
_openPageDialog
.Id, McpDialogId) && !
_openPageDialog
.Result.IsCompleted)
242
await
_openPageDialog
.CloseAsync();
265
if (
_openPageDialog
is not null)
267
if (Equals(
_openPageDialog
.Id, HelpDialogId) && !
_openPageDialog
.Result.IsCompleted)
272
await
_openPageDialog
.CloseAsync();
299
if (
_openPageDialog
is not null)
301
if (Equals(
_openPageDialog
.Id, SettingsDialogId) && !
_openPageDialog
.Result.IsCompleted)
306
await
_openPageDialog
.CloseAsync();