14 references to SetParameterCommand
Aspire.Dashboard (5)
Components\Controls\MissingParametersPanel.razor.cs (1)
119string.Equals(command.Name, CommandViewModel.SetParameterCommand, StringComparisons.CommandName) &&
Components\Controls\ParameterOverview.razor.cs (1)
83string.Equals(command.Name, CommandViewModel.SetParameterCommand, StringComparisons.CommandName) &&
Components\Layout\ResourcesLayout.razor.cs (2)
1872string.Equals(c.Name, CommandViewModel.SetParameterCommand, StringComparisons.CommandName) && 2052string.Equals(command.Name, CommandViewModel.SetParameterCommand, StringComparisons.CommandName))
Model\ResourceViewModel.cs (1)
313private static readonly string[] s_knownResourceCommands = [StartCommand, StopCommand, RestartCommand, RebuildCommand, SetParameterCommand, DeleteParameterCommand];
Aspire.Dashboard.Components.Tests (8)
Controls\MissingParametersPanelTests.cs (1)
141new(CommandViewModel.SetParameterCommand, CommandViewModelState.Enabled, "Set", string.Empty, string.Empty, [input], isHighlighted: false, iconName: string.Empty, iconVariant: Microsoft.FluentUI.AspNetCore.Components.IconVariant.Regular);
Controls\ResourceDetailsTests.cs (5)
798CommandViewModel.SetParameterCommand, 835Assert.Equal(CommandViewModel.SetParameterCommand, capturedCommand!.Name); 844CommandViewModel.SetParameterCommand, 873currentResource.Name == resource.Name && command.Name == CommandViewModel.SetParameterCommand); 890CommandViewModel.SetParameterCommand,
Layout\ResourcesLayoutTests.cs (2)
1626new CommandViewModel(CommandViewModel.SetParameterCommand, CommandViewModelState.Enabled, "Set parameter", "", 1843commands.Add(Command(CommandViewModel.SetParameterCommand, "Set parameter", state, highlighted));
Aspire.Dashboard.Playwright.Tests (1)
Integration\Playwright\ResourcePaneResponsiveTests.cs (1)
2841name == "service-key" ? [Command(CommandViewModel.SetParameterCommand)] : [],