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