13 references to StartCommand
Aspire.Dashboard (5)
Components\Controls\TerminalDisconnectedBanner.razor.cs (1)
94c.Name is CommandViewModel.RestartCommand or CommandViewModel.StartCommand);
Components\Layout\ResourcesLayout.razor.cs (2)
1882[CommandViewModel.StartCommand], 1898c.Name is not (CommandViewModel.StartCommand or CommandViewModel.StopCommand or CommandViewModel.RestartCommand))
Model\DashboardCommandExecutor.cs (1)
54if (dashboardClient.IsReadOnly || commandName is not (CommandViewModel.StopCommand or CommandViewModel.StartCommand))
Model\ResourceViewModel.cs (1)
313private 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)] 174CreateCommand(CommandViewModel.StartCommand)]))]);
Controls\TerminalViewTests.cs (1)
624commands: [new CommandViewModel(CommandViewModel.StartCommand, CommandViewModelState.Enabled,
Layout\ResourcesLayoutTests.cs (1)
1751Command(CommandViewModel.StartCommand, CommandViewModelState.Hidden, false),
Aspire.Dashboard.Tests (3)
Model\DashboardCommandExecutorTests.cs (1)
46[InlineData(CommandViewModel.StartCommand, true)]
Model\ResourceMenuBuilderTests.cs (2)
410CommandViewModel.StartCommand, 458CommandViewModel.StartCommand,