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