40 references to ShowDialogAsync
Aspire.Dashboard (3)
Components\Dialogs\GenAIVisualizerDialog.razor.cs (1)
404await dialogService.ShowDialogAsync<GenAIVisualizerDialog>(dialogViewModel, parameters);
Components\Dialogs\TextVisualizerDialog.razor.cs (1)
144return 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)
93await dialogService.ShowDialogAsync<TextVisualizerDialog>(new TextVisualizerDialogViewModel(rawJson, string.Empty, false), new DialogParameters()); 121await dialogService.ShowDialogAsync<TextVisualizerDialog>(new TextVisualizerDialogViewModel(rawXml, string.Empty, false), new DialogParameters()); 144await dialogService.ShowDialogAsync<TextVisualizerDialog>(content, new DialogParameters()); 204await dialogService.ShowDialogAsync<TextVisualizerDialog>(new TextVisualizerDialogViewModel(rawXml, string.Empty, false), new DialogParameters()); 221await dialogService.ShowDialogAsync<TextVisualizerDialog>(new TextVisualizerDialogViewModel(rawText, string.Empty, false), new DialogParameters()); 238await dialogService.ShowDialogAsync<TextVisualizerDialog>(new TextVisualizerDialogViewModel(rawText, string.Empty, false), new DialogParameters()); 253await dialogService.ShowDialogAsync<TextVisualizerDialog>(new TextVisualizerDialogViewModel(xml, string.Empty, false), new DialogParameters()); 272await dialogService.ShowDialogAsync<TextVisualizerDialog>(new TextVisualizerDialogViewModel(xml, string.Empty, false), new DialogParameters()); 295await dialogService.ShowDialogAsync<TextVisualizerDialog>(new TextVisualizerDialogViewModel(rawText, string.Empty, ContainsSecret: true), new DialogParameters()); 318await dialogService.ShowDialogAsync<TextVisualizerDialog>(new TextVisualizerDialogViewModel(rawText, string.Empty, ContainsSecret: true), new DialogParameters()); 338await dialogService.ShowDialogAsync<TextVisualizerDialog>(new TextVisualizerDialogViewModel(rawText, string.Empty, ContainsSecret: true), new DialogParameters()); 350await dialogService.ShowDialogAsync<TextVisualizerDialog>(new TextVisualizerDialogViewModel(rawText, string.Empty, ContainsSecret: false, FixedFormat: DashboardUIHelpers.PropertiesFormat), new DialogParameters()); 370await dialogService.ShowDialogAsync<TextVisualizerDialog>(new TextVisualizerDialogViewModel(rawText, string.Empty, ContainsSecret: false, FixedFormat: DashboardUIHelpers.JsonFormat, InitialFormat: DashboardUIHelpers.SqlFormat), new DialogParameters()); 434await dialogService.ShowDialogAsync<TextVisualizerDialog>(content, 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 (4)
27await dialogService.ShowDialogAsync<InteractionsTerminalDialog>(viewModel, new DialogParameters { Title = "Interaction" }); 54await dialogService.ShowDialogAsync<InteractionsTerminalDialog>(viewModel, new DialogParameters { Title = "Shell" }); 83var dialog = await dialogService.ShowDialogAsync<InteractionsTerminalDialog>(viewModel, 110var dialog = await dialogService.ShowDialogAsync<InteractionsTerminalDialog>(viewModel, new DialogParameters());