38 references to ShowDialogAsync
Aspire.Dashboard (3)
Components\Dialogs\GenAIVisualizerDialog.razor.cs (1)
404
await dialogService.
ShowDialogAsync
<GenAIVisualizerDialog>(dialogViewModel, parameters);
Components\Dialogs\TextVisualizerDialog.razor.cs (1)
142
return await options.DialogService.
ShowDialogAsync
<TextVisualizerDialog>(
Components\Layout\AspirePageContentLayout.razor.cs (1)
84
_toolbarPanel = await DialogService.
ShowDialogAsync
<ToolbarPanel>(
Aspire.Dashboard.Components.Tests (35)
Controls\TextVisualizerDialogTests.cs (13)
51
await dialogService.
ShowDialogAsync
<TextVisualizerDialog>(new TextVisualizerDialogViewModel(rawJson, string.Empty, false), new DialogParameters());
79
await dialogService.
ShowDialogAsync
<TextVisualizerDialog>(new TextVisualizerDialogViewModel(rawXml, string.Empty, false), new DialogParameters());
102
await dialogService.
ShowDialogAsync
<TextVisualizerDialog>(content, new DialogParameters());
162
await dialogService.
ShowDialogAsync
<TextVisualizerDialog>(new TextVisualizerDialogViewModel(rawXml, string.Empty, false), new DialogParameters());
179
await dialogService.
ShowDialogAsync
<TextVisualizerDialog>(new TextVisualizerDialogViewModel(rawText, string.Empty, false), new DialogParameters());
196
await dialogService.
ShowDialogAsync
<TextVisualizerDialog>(new TextVisualizerDialogViewModel(rawText, string.Empty, false), new DialogParameters());
211
await dialogService.
ShowDialogAsync
<TextVisualizerDialog>(new TextVisualizerDialogViewModel(xml, string.Empty, false), new DialogParameters());
230
await dialogService.
ShowDialogAsync
<TextVisualizerDialog>(new TextVisualizerDialogViewModel(xml, string.Empty, false), new DialogParameters());
253
await dialogService.
ShowDialogAsync
<TextVisualizerDialog>(new TextVisualizerDialogViewModel(rawText, string.Empty, ContainsSecret: true), new DialogParameters());
276
await dialogService.
ShowDialogAsync
<TextVisualizerDialog>(new TextVisualizerDialogViewModel(rawText, string.Empty, ContainsSecret: true), new DialogParameters());
296
await dialogService.
ShowDialogAsync
<TextVisualizerDialog>(new TextVisualizerDialogViewModel(rawText, string.Empty, ContainsSecret: true), new DialogParameters());
308
await dialogService.
ShowDialogAsync
<TextVisualizerDialog>(new TextVisualizerDialogViewModel(rawText, string.Empty, ContainsSecret: false, FixedFormat: DashboardUIHelpers.PropertiesFormat), new DialogParameters());
328
await dialogService.
ShowDialogAsync
<TextVisualizerDialog>(new TextVisualizerDialogViewModel(rawText, string.Empty, ContainsSecret: false, FixedFormat: DashboardUIHelpers.JsonFormat), new DialogParameters());
Dialogs\InteractionMessageBoxDialogTests.cs (3)
31
var reference = await dialogService.
ShowDialogAsync
<InteractionMessageBoxDialog>(
59
await dialogService.
ShowDialogAsync
<InteractionMessageBoxDialog>(
84
await dialogService.
ShowDialogAsync
<InteractionMessageBoxDialog>(
Dialogs\InteractionsInputDialogTests.cs (16)
58
await dialogService.
ShowDialogAsync
<InteractionsInputDialog>(viewModel, new DialogParameters { Title = "Inputs" });
120
await dialogService.
ShowDialogAsync
<InteractionsInputDialog>(viewModel, new DialogParameters { Title = "Artifact" });
190
await dialogService.
ShowDialogAsync
<InteractionsInputDialog>(viewModel, new DialogParameters { Title = "Required inputs" });
245
await dialogService.
ShowDialogAsync
<InteractionsInputDialog>(viewModel, new DialogParameters { Title = "Required input" });
313
await dialogService.
ShowDialogAsync
<InteractionsInputDialog>(viewModel, new DialogParameters
332
await dialogService.
ShowDialogAsync
<InteractionsInputDialog>(CreateSecretTextViewModel(), new DialogParameters
376
await dialogService.
ShowDialogAsync
<InteractionsInputDialog>(viewModel, new DialogParameters { Title = "Input state" });
413
await dialogService.
ShowDialogAsync
<InteractionsInputDialog>(CreateSecretTextViewModel(), new DialogParameters
448
await dialogService.
ShowDialogAsync
<InteractionsInputDialog>(viewModel, new DialogParameters
479
await dialogService.
ShowDialogAsync
<InteractionsInputDialog>(viewModel, new DialogParameters { Title = "Choose a color" });
505
await dialogService.
ShowDialogAsync
<InteractionsInputDialog>(viewModel, new DialogParameters { Title = "Choose a color" });
531
await dialogService.
ShowDialogAsync
<InteractionsInputDialog>(viewModel, new DialogParameters { Title = "Choose a color" });
577
await dialogService.
ShowDialogAsync
<InteractionsInputDialog>(viewModel, new DialogParameters { Title = "Choose a color" });
602
await dialogService.
ShowDialogAsync
<InteractionsInputDialog>(viewModel, new DialogParameters
624
await dialogService.
ShowDialogAsync
<InteractionsInputDialog>(viewModel, new DialogParameters
662
await dialogService.
ShowDialogAsync
<InteractionsInputDialog>(viewModel, new DialogParameters
Dialogs\InteractionsTerminalDialogTests.cs (3)
34
await dialogService.
ShowDialogAsync
<InteractionsTerminalDialog>(viewModel, new DialogParameters { Title = "Shell" });
63
var dialog = await dialogService.
ShowDialogAsync
<InteractionsTerminalDialog>(viewModel,
90
var dialog = await dialogService.
ShowDialogAsync
<InteractionsTerminalDialog>(viewModel, new DialogParameters());