45 references to ShowDialogAsync
Aspire.Dashboard (3)
Components\Dialogs\GenAIVisualizerDialog.razor.cs (1)
403
await dialogService.
ShowDialogAsync
<GenAIVisualizerDialog>(dialogViewModel, parameters);
Components\Dialogs\TextVisualizerDialog.razor.cs (1)
147
return await options.DialogService.
ShowDialogAsync
<TextVisualizerDialog>(
Components\Layout\AspirePageContentLayout.razor.cs (1)
90
_toolbarPanel = await DialogService.
ShowDialogAsync
<ToolbarPanel>(
Aspire.Dashboard.Components.Tests (42)
Controls\TextVisualizerDialogTests.cs (17)
39
await dialogService.
ShowDialogAsync
<TextVisualizerDialog>(content, new DialogParameters());
65
await dialogService.
ShowDialogAsync
<TextVisualizerDialog>(
77
await dialogService.
ShowDialogAsync
<TextVisualizerDialog>(
157
await dialogService.
ShowDialogAsync
<TextVisualizerDialog>(new TextVisualizerDialogViewModel(rawJson, string.Empty, false), new DialogParameters());
194
await dialogService.
ShowDialogAsync
<TextVisualizerDialog>(new TextVisualizerDialogViewModel(rawXml, string.Empty, false), new DialogParameters());
217
await dialogService.
ShowDialogAsync
<TextVisualizerDialog>(content, new DialogParameters());
277
await dialogService.
ShowDialogAsync
<TextVisualizerDialog>(new TextVisualizerDialogViewModel(rawXml, string.Empty, false), new DialogParameters());
294
await dialogService.
ShowDialogAsync
<TextVisualizerDialog>(new TextVisualizerDialogViewModel(rawText, string.Empty, false), new DialogParameters());
311
await dialogService.
ShowDialogAsync
<TextVisualizerDialog>(new TextVisualizerDialogViewModel(rawText, string.Empty, false), new DialogParameters());
326
await dialogService.
ShowDialogAsync
<TextVisualizerDialog>(new TextVisualizerDialogViewModel(xml, string.Empty, false), new DialogParameters());
345
await dialogService.
ShowDialogAsync
<TextVisualizerDialog>(new TextVisualizerDialogViewModel(xml, string.Empty, false), new DialogParameters());
368
await dialogService.
ShowDialogAsync
<TextVisualizerDialog>(new TextVisualizerDialogViewModel(rawText, string.Empty, ContainsSecret: true), new DialogParameters());
391
await dialogService.
ShowDialogAsync
<TextVisualizerDialog>(new TextVisualizerDialogViewModel(rawText, string.Empty, ContainsSecret: true), new DialogParameters());
411
await dialogService.
ShowDialogAsync
<TextVisualizerDialog>(new TextVisualizerDialogViewModel(rawText, string.Empty, ContainsSecret: true), new DialogParameters());
423
await dialogService.
ShowDialogAsync
<TextVisualizerDialog>(new TextVisualizerDialogViewModel(rawText, string.Empty, ContainsSecret: false, FixedFormat: DashboardUIHelpers.PropertiesFormat), new DialogParameters());
443
await dialogService.
ShowDialogAsync
<TextVisualizerDialog>(new TextVisualizerDialogViewModel(rawText, string.Empty, ContainsSecret: false, FixedFormat: DashboardUIHelpers.JsonFormat, InitialFormat: DashboardUIHelpers.SqlFormat), new DialogParameters());
507
await dialogService.
ShowDialogAsync
<TextVisualizerDialog>(content, new DialogParameters());
Dialogs\InteractionMessageBoxDialogTests.cs (4)
31
var reference = await dialogService.
ShowDialogAsync
<InteractionMessageBoxDialog>(
59
await dialogService.
ShowDialogAsync
<InteractionMessageBoxDialog>(
84
await dialogService.
ShowDialogAsync
<InteractionMessageBoxDialog>(
116
await dialogService.
ShowDialogAsync
<InteractionMessageBoxDialog>(
Dialogs\InteractionsInputDialogTests.cs (17)
58
await dialogService.
ShowDialogAsync
<InteractionsInputDialog>(viewModel, new DialogParameters { Title = "Inputs" });
125
await dialogService.
ShowDialogAsync
<InteractionsInputDialog>(viewModel, new DialogParameters { Title = "Inputs" });
164
await dialogService.
ShowDialogAsync
<InteractionsInputDialog>(viewModel, new DialogParameters { Title = "Artifact" });
234
await dialogService.
ShowDialogAsync
<InteractionsInputDialog>(viewModel, new DialogParameters { Title = "Required inputs" });
289
await dialogService.
ShowDialogAsync
<InteractionsInputDialog>(viewModel, new DialogParameters { Title = "Required input" });
357
await dialogService.
ShowDialogAsync
<InteractionsInputDialog>(viewModel, new DialogParameters
376
await dialogService.
ShowDialogAsync
<InteractionsInputDialog>(CreateSecretTextViewModel(), new DialogParameters
420
await dialogService.
ShowDialogAsync
<InteractionsInputDialog>(viewModel, new DialogParameters { Title = "Input state" });
457
await dialogService.
ShowDialogAsync
<InteractionsInputDialog>(CreateSecretTextViewModel(), new DialogParameters
492
await dialogService.
ShowDialogAsync
<InteractionsInputDialog>(viewModel, new DialogParameters
523
await dialogService.
ShowDialogAsync
<InteractionsInputDialog>(viewModel, new DialogParameters { Title = "Choose a color" });
549
await dialogService.
ShowDialogAsync
<InteractionsInputDialog>(viewModel, new DialogParameters { Title = "Choose a color" });
575
await dialogService.
ShowDialogAsync
<InteractionsInputDialog>(viewModel, new DialogParameters { Title = "Choose a color" });
621
await dialogService.
ShowDialogAsync
<InteractionsInputDialog>(viewModel, new DialogParameters { Title = "Choose a color" });
646
await dialogService.
ShowDialogAsync
<InteractionsInputDialog>(viewModel, new DialogParameters
668
await dialogService.
ShowDialogAsync
<InteractionsInputDialog>(viewModel, new DialogParameters
706
await dialogService.
ShowDialogAsync
<InteractionsInputDialog>(viewModel, new DialogParameters
Dialogs\InteractionsTerminalDialogTests.cs (4)
27
await dialogService.
ShowDialogAsync
<InteractionsTerminalDialog>(viewModel, new DialogParameters { Title = "Interaction" });
54
await dialogService.
ShowDialogAsync
<InteractionsTerminalDialog>(viewModel, new DialogParameters { Title = "Shell" });
83
var dialog = await dialogService.
ShowDialogAsync
<InteractionsTerminalDialog>(viewModel,
110
var dialog = await dialogService.
ShowDialogAsync
<InteractionsTerminalDialog>(viewModel, new DialogParameters());