14 references to StartCommand
Aspire.Hosting (2)
ApplicationModel\CommandsConfigurationExtensions.cs (1)
20
name: KnownResourceCommands.
StartCommand
,
src\Shared\Model\KnownResourceCommands.cs (1)
14
return command is
StartCommand
or StopCommand or RestartCommand;
Aspire.Hosting.Tests (12)
Dcp\DcpExecutorTests.cs (1)
1238
a => Assert.Equal(KnownResourceCommands.
StartCommand
, a.Name),
ResourceCommandAnnotationTests.cs (11)
13
[InlineData(KnownResourceCommands.
StartCommand
, "Starting", ResourceCommandState.Disabled)]
14
[InlineData(KnownResourceCommands.
StartCommand
, "Stopping", ResourceCommandState.Hidden)]
15
[InlineData(KnownResourceCommands.
StartCommand
, "Running", ResourceCommandState.Hidden)]
16
[InlineData(KnownResourceCommands.
StartCommand
, "Exited", ResourceCommandState.Enabled)]
17
[InlineData(KnownResourceCommands.
StartCommand
, "Finished", ResourceCommandState.Enabled)]
18
[InlineData(KnownResourceCommands.
StartCommand
, "FailedToStart", ResourceCommandState.Enabled)]
19
[InlineData(KnownResourceCommands.
StartCommand
, "Unknown", ResourceCommandState.Enabled)]
20
[InlineData(KnownResourceCommands.
StartCommand
, "Waiting", ResourceCommandState.Enabled)]
21
[InlineData(KnownResourceCommands.
StartCommand
, "RuntimeUnhealthy", ResourceCommandState.Disabled)]
22
[InlineData(KnownResourceCommands.
StartCommand
, "", ResourceCommandState.Disabled)]
23
[InlineData(KnownResourceCommands.
StartCommand
, null, ResourceCommandState.Disabled)]