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