3 references to StartCommand
Aspire.Dashboard (3)
Mcp\AspireResourceMcpTools.cs (2)
170
if (command.Name == CommandViewModel.RestartCommand && resource.Commands.Any(c => c.Name == CommandViewModel.
StartCommand
&& c.State == CommandViewModelState.Enabled))
172
throw new McpProtocolException($"Resource '{resourceName}' is stopped. Use the '{CommandViewModel.
StartCommand
}' command instead of '{CommandViewModel.RestartCommand}'.", McpErrorCode.InvalidParams);
Model\ResourceViewModel.cs (1)
231
private static readonly string[] s_knownResourceCommands = [
StartCommand
, StopCommand, RestartCommand];