40 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)
144
return await options.DialogService.
ShowDialogAsync
<TextVisualizerDialog>(
Components\Layout\AspirePageContentLayout.razor.cs (1)
90
_toolbarPanel = await DialogService.
ShowDialogAsync
<ToolbarPanel>(
Aspire.Dashboard.Components.Tests (37)
Controls\TextVisualizerDialogTests.cs (14)
93
await dialogService.
ShowDialogAsync
<TextVisualizerDialog>(new TextVisualizerDialogViewModel(rawJson, string.Empty, false), new DialogParameters());
121
await dialogService.
ShowDialogAsync
<TextVisualizerDialog>(new TextVisualizerDialogViewModel(rawXml, string.Empty, false), new DialogParameters());
144
await dialogService.
ShowDialogAsync
<TextVisualizerDialog>(content, new DialogParameters());
204
await dialogService.
ShowDialogAsync
<TextVisualizerDialog>(new TextVisualizerDialogViewModel(rawXml, string.Empty, false), new DialogParameters());
221
await dialogService.
ShowDialogAsync
<TextVisualizerDialog>(new TextVisualizerDialogViewModel(rawText, string.Empty, false), new DialogParameters());
238
await dialogService.
ShowDialogAsync
<TextVisualizerDialog>(new TextVisualizerDialogViewModel(rawText, string.Empty, false), new DialogParameters());
253
await dialogService.
ShowDialogAsync
<TextVisualizerDialog>(new TextVisualizerDialogViewModel(xml, string.Empty, false), new DialogParameters());
272
await dialogService.
ShowDialogAsync
<TextVisualizerDialog>(new TextVisualizerDialogViewModel(xml, string.Empty, false), new DialogParameters());
295
await dialogService.
ShowDialogAsync
<TextVisualizerDialog>(new TextVisualizerDialogViewModel(rawText, string.Empty, ContainsSecret: true), new DialogParameters());
318
await dialogService.
ShowDialogAsync
<TextVisualizerDialog>(new TextVisualizerDialogViewModel(rawText, string.Empty, ContainsSecret: true), new DialogParameters());
338
await dialogService.
ShowDialogAsync
<TextVisualizerDialog>(new TextVisualizerDialogViewModel(rawText, string.Empty, ContainsSecret: true), new DialogParameters());
350
await dialogService.
ShowDialogAsync
<TextVisualizerDialog>(new TextVisualizerDialogViewModel(rawText, string.Empty, ContainsSecret: false, FixedFormat: DashboardUIHelpers.PropertiesFormat), new DialogParameters());
370
await dialogService.
ShowDialogAsync
<TextVisualizerDialog>(new TextVisualizerDialogViewModel(rawText, string.Empty, ContainsSecret: false, FixedFormat: DashboardUIHelpers.JsonFormat, InitialFormat: DashboardUIHelpers.SqlFormat), new DialogParameters());
434
await dialogService.
ShowDialogAsync
<TextVisualizerDialog>(content, 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 (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());