5 writes to _openPageDialog
Aspire.Dashboard (5)
Components\Layout\MainLayout.razor.cs (5)
252
_openPageDialog
= await DialogService.ShowDialogAsync<McpServerDialog>(parameters).ConfigureAwait(true);
282
_openPageDialog
= await DialogService.ShowDialogAsync<HelpDialog>(parameters).ConfigureAwait(true);
287
_openPageDialog
= null;
321
_openPageDialog
= await DialogService.ShowPanelAsync<SettingsDialog>(parameters).ConfigureAwait(true);
325
_openPageDialog
= await DialogService.ShowDialogAsync<SettingsDialog>(parameters).ConfigureAwait(true);
12 references to _openPageDialog
Aspire.Dashboard (12)
Components\Layout\MainLayout.razor.cs (12)
242
if (
_openPageDialog
is not null)
244
if (Equals(
_openPageDialog
.Id, McpDialogId) && !
_openPageDialog
.Result.IsCompleted)
249
await
_openPageDialog
.CloseAsync();
272
if (
_openPageDialog
is not null)
274
if (Equals(
_openPageDialog
.Id, HelpDialogId) && !
_openPageDialog
.Result.IsCompleted)
279
await
_openPageDialog
.CloseAsync();
306
if (
_openPageDialog
is not null)
308
if (Equals(
_openPageDialog
.Id, SettingsDialogId) && !
_openPageDialog
.Result.IsCompleted)
313
await
_openPageDialog
.CloseAsync();