13 references to StartCommand
Aspire.Dashboard (5)
Components\Controls\TerminalDisconnectedBanner.razor.cs (1)
94
c.Name is CommandViewModel.RestartCommand or CommandViewModel.
StartCommand
);
Components\Layout\ResourcesLayout.razor.cs (2)
1882
[CommandViewModel.
StartCommand
],
1898
c.Name is not (CommandViewModel.
StartCommand
or CommandViewModel.StopCommand or CommandViewModel.RestartCommand))
Model\DashboardCommandExecutor.cs (1)
54
if (dashboardClient.IsReadOnly || commandName is not (CommandViewModel.StopCommand or CommandViewModel.
StartCommand
))
Model\ResourceViewModel.cs (1)
313
private static readonly string[] s_knownResourceCommands = [
StartCommand
, StopCommand, RestartCommand, RebuildCommand, SetParameterCommand, DeleteParameterCommand];
Aspire.Dashboard.Components.Tests (5)
Controls\TerminalDisconnectedBannerTests.cs (3)
56
[InlineData(CommandViewModel.
StartCommand
, ResourceCommandResponseKind.Succeeded)]
58
[InlineData(CommandViewModel.
StartCommand
, ResourceCommandResponseKind.Failed)]
174
CreateCommand(CommandViewModel.
StartCommand
)]))]);
Controls\TerminalViewTests.cs (1)
624
commands: [new CommandViewModel(CommandViewModel.
StartCommand
, CommandViewModelState.Enabled,
Layout\ResourcesLayoutTests.cs (1)
1751
Command(CommandViewModel.
StartCommand
, CommandViewModelState.Hidden, false),
Aspire.Dashboard.Tests (3)
Model\DashboardCommandExecutorTests.cs (1)
46
[InlineData(CommandViewModel.
StartCommand
, true)]
Model\ResourceMenuBuilderTests.cs (2)
410
CommandViewModel.
StartCommand
,
458
CommandViewModel.
StartCommand
,