47 instantiations of DialogParameters
Aspire.Dashboard (12)
Components\Controls\Chart\MetricTable.razor.cs (1)
108var parameters = new DialogParameters
Components\Dialogs\GenAIVisualizerDialog.razor.cs (1)
393var parameters = new DialogParameters
Components\Dialogs\SettingsDialog.razor.cs (1)
94var parameters = new DialogParameters
Components\Dialogs\TextVisualizerDialog.razor.cs (1)
135var parameters = new DialogParameters
Components\Interactions\InteractionsProvider.cs (1)
555var dialogParameters = new DialogParameters
Components\Layout\AspirePageContentLayout.razor.cs (1)
88new DialogParameters
Components\Layout\MainLayout.razor.cs (4)
326DialogParameters parameters = new() 384DialogParameters parameters = new() 409var parameters = new DialogParameters 434var parameters = new DialogParameters
Model\TraceLinkHelpers.cs (1)
53new DialogParameters
Utils\FilterHelpers.cs (1)
107var parameters = new DialogParameters
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)
33new DialogParameters 61new DialogParameters 86new DialogParameters { UseCustomFooter = true });
Dialogs\InteractionsInputDialogTests.cs (16)
63await dialogService.ShowDialogAsync<InteractionsInputDialog>(viewModel, new DialogParameters { Title = "Inputs" }); 125await dialogService.ShowDialogAsync<InteractionsInputDialog>(viewModel, new DialogParameters { Title = "Artifact" }); 195await dialogService.ShowDialogAsync<InteractionsInputDialog>(viewModel, new DialogParameters { Title = "Required inputs" }); 250await dialogService.ShowDialogAsync<InteractionsInputDialog>(viewModel, new DialogParameters { Title = "Required input" }); 318await dialogService.ShowDialogAsync<InteractionsInputDialog>(viewModel, new DialogParameters 337await dialogService.ShowDialogAsync<InteractionsInputDialog>(CreateSecretTextViewModel(), new DialogParameters 381await dialogService.ShowDialogAsync<InteractionsInputDialog>(viewModel, new DialogParameters { Title = "Input state" }); 418await dialogService.ShowDialogAsync<InteractionsInputDialog>(CreateSecretTextViewModel(), new DialogParameters 453await dialogService.ShowDialogAsync<InteractionsInputDialog>(viewModel, new DialogParameters 484await dialogService.ShowDialogAsync<InteractionsInputDialog>(viewModel, new DialogParameters { Title = "Choose a color" }); 510await dialogService.ShowDialogAsync<InteractionsInputDialog>(viewModel, new DialogParameters { Title = "Choose a color" }); 536await dialogService.ShowDialogAsync<InteractionsInputDialog>(viewModel, new DialogParameters { Title = "Choose a color" }); 582await dialogService.ShowDialogAsync<InteractionsInputDialog>(viewModel, new DialogParameters { Title = "Choose a color" }); 607await dialogService.ShowDialogAsync<InteractionsInputDialog>(viewModel, new DialogParameters 629await dialogService.ShowDialogAsync<InteractionsInputDialog>(viewModel, new DialogParameters 667await dialogService.ShowDialogAsync<InteractionsInputDialog>(viewModel, new DialogParameters
Model\DashboardDialogServiceTests.cs (3)
88var reference = await dialogService.ShowDialogAsync<HelpDialog>(new DialogParameters 131var reference = await dialogService.ShowDialogAsync<HelpDialog>(new DialogParameters 147var reference = await dialogService.ShowPanelAsync<HelpDialog>(new DialogParameters
37 references to DialogParameters
Aspire.Dashboard (21)
Components\Controls\Chart\MetricTable.razor.cs (1)
108var parameters = new DialogParameters
Components\Dialogs\GenAIVisualizerDialog.razor.cs (1)
393var parameters = new DialogParameters
Components\Dialogs\SettingsDialog.razor.cs (1)
94var parameters = new DialogParameters
Components\Dialogs\TextVisualizerDialog.razor.cs (1)
135var parameters = new DialogParameters
Components\Interactions\InteractionsProvider.cs (5)
163var dialogParameters = CreateDialogParameters(item, messageBox.Intent); 223var dialogParameters = CreateDialogParameters(item, intent: null); 247var dialogParameters = CreateDialogParameters(item, intent: null); 553private DialogParameters CreateDialogParameters(WatchInteractionsResponseUpdate interaction, MessageIntentDto? intent) 555var dialogParameters = new DialogParameters
Components\Layout\MainLayout.razor.cs (4)
326DialogParameters parameters = new() 384DialogParameters parameters = new() 409var parameters = new DialogParameters 434var parameters = new DialogParameters
Model\DashboardDialogService.cs (7)
40public Task<DashboardDialogReference> ShowDialogAsync<TDialog>(object content, DialogParameters parameters) 53public Task<DashboardDialogReference> ShowDialogAsync<TDialog>(DialogParameters parameters) 67public Task<DashboardDialogReference> ShowPanelAsync<TDialog>(object content, DialogParameters parameters) 80public Task<DashboardDialogReference> ShowPanelAsync<TDialog>(DialogParameters parameters) 107private async Task<DashboardDialogReference> ShowAsync<TDialog>(object? content, DialogParameters parameters, bool drawer) 134private DialogOptions CreateOptions(object? content, DialogParameters parameters, TaskCompletionSource<IDialogInstance> opened, bool drawer) 186DialogParameters parameters,
Utils\FilterHelpers.cs (1)
107var parameters = new DialogParameters
Aspire.Dashboard.Components.Tests (12)
Interactions\InteractionsProviderTests.cs (5)
148DialogParameters? dialogParameters = null; 257DialogParameters? dialogParameters = null; 316DialogParameters? dialogParameters = null; 565DialogParameters? dialogParameters = null; 621DialogParameters? dialogParameters = null;
Layout\MainLayoutTests.cs (3)
206DialogParameters? capturedParameters = null; 929DialogParameters? capturedParameters = null; 986DialogParameters? capturedParameters = null;
tests\Shared\TestDialogService.cs (4)
21private readonly Func<object?, DialogParameters, Task>? _onShowDialog; 24public TestDialogService(Func<object?, DialogParameters, Task>? onShowDialog = null) 47var parameters = (DialogParameters)instance.Options.Data!;
Aspire.Dashboard.Tests (4)
tests\Shared\TestDialogService.cs (4)
21private readonly Func<object?, DialogParameters, Task>? _onShowDialog; 24public TestDialogService(Func<object?, DialogParameters, Task>? onShowDialog = null) 47var parameters = (DialogParameters)instance.Options.Data!;