15 references to StartCommand
Aspire.Hosting (2)
ApplicationModel\CommandsConfigurationExtensions.cs (1)
27
name: KnownResourceCommands.
StartCommand
,
ApplicationModel\ResourceCommandService.cs (1)
23
[KnownResourceCommands.LegacyStartCommand] = KnownResourceCommands.
StartCommand
,
Aspire.Hosting.EntityFrameworkCore (2)
EFCoreOperationExecutor.cs (2)
467
if (toolResource.Annotations.OfType<ResourceCommandAnnotation>().Any(a => a.Name == KnownResourceCommands.
StartCommand
))
469
return KnownResourceCommands.
StartCommand
;
Aspire.Hosting.EntityFrameworkCore.Tests (2)
EFCoreOperationExecutorTests.cs (1)
218
KnownResourceCommands.
StartCommand
,
TestServices\TestEfTool.cs (1)
25
KnownResourceCommands.
StartCommand
,
Aspire.Hosting.Redis.Tests (1)
RedisFunctionalTests.cs (1)
173
var startResult = await app.ResourceCommands.ExecuteCommandAsync(commanderBuilder.Resource, KnownResourceCommands.
StartCommand
);
Aspire.Hosting.Tests (7)
AddParameterTests.cs (1)
135
var start = Assert.Single(caller.Annotations.OfType<ResourceCommandAnnotation>(), c => c.Name == KnownResourceCommands.
StartCommand
);
Dashboard\DashboardEventHandlersTests.cs (1)
220
command => Assert.Equal(KnownResourceCommands.
StartCommand
, command.Name),
Dcp\DcpExecutorTests.cs (2)
12745
a => Assert.Equal(KnownResourceCommands.
StartCommand
, a.Name),
12754
a => Assert.Equal(KnownResourceCommands.
StartCommand
, a.Name),
Orchestrator\ApplicationOrchestratorTests.cs (1)
1561
var start = Assert.Single(caller.Resource.Annotations.OfType<ResourceCommandAnnotation>(), c => c.Name == KnownResourceCommands.
StartCommand
);
ResourceCommandServiceTests.cs (1)
416
custom.WithCommand(name: KnownResourceCommands.
StartCommand
,
WithUrlsTests.cs (1)
1220
var startResult = await app.ResourceCommands.ExecuteCommandAsync(resourceA.Resource, KnownResourceCommands.
StartCommand
).DefaultTimeout(TestConstants.DefaultOrchestratorTestTimeout);
Stress.AppHost (1)
CommandResources.cs (1)
1197
await ExecuteCommandForAllResourcesAsync(c.Services, KnownResourceCommands.
StartCommand
, c.CancellationToken);