15 references to StopCommand
Aspire.Hosting (2)
ApplicationModel\CommandsConfigurationExtensions.cs (1)
59name: KnownResourceCommands.StopCommand,
ApplicationModel\ResourceCommandService.cs (1)
24[KnownResourceCommands.LegacyStopCommand] = KnownResourceCommands.StopCommand,
Aspire.Hosting.Maui (3)
Lifecycle\MauiBuildQueueEventSubscriber.cs (3)
447var result = await resourceCommandService.ExecuteCommandAsync(resource, KnownResourceCommands.StopCommand, stopCancellationToken).ConfigureAwait(false); 503.SingleOrDefault(a => a.Name == KnownResourceCommands.StopCommand); 516name: KnownResourceCommands.StopCommand,
Aspire.Hosting.Maui.Tests (3)
MauiBuildQueueTests.cs (3)
567.Single(a => a.Name == KnownResourceCommands.StopCommand); 600.Single(a => a.Name == KnownResourceCommands.StopCommand); 1120name: KnownResourceCommands.StopCommand,
Aspire.Hosting.Redis.Tests (1)
RedisFunctionalTests.cs (1)
194var stopResult = await app.ResourceCommands.ExecuteCommandAsync(commanderBuilder.Resource, KnownResourceCommands.StopCommand);
Aspire.Hosting.Tests (5)
Dcp\DcpExecutorTests.cs (2)
9714a => Assert.Equal(KnownResourceCommands.StopCommand, a.Name), 9723a => Assert.Equal(KnownResourceCommands.StopCommand, a.Name),
Eventing\DistributedApplicationBuilderEventingTests.cs (1)
361await app.ResourceCommands.ExecuteCommandAsync("redis", KnownResourceCommands.StopCommand);
ResourceCommandServiceTests.cs (1)
435custom.WithCommand(name: KnownResourceCommands.StopCommand,
WithUrlsTests.cs (1)
1046var stopResult = await app.ResourceCommands.ExecuteCommandAsync(resourceA.Resource, KnownResourceCommands.StopCommand).DefaultTimeout(TestConstants.DefaultOrchestratorTestTimeout);
Stress.AppHost (1)
CommandResources.cs (1)
1110await ExecuteCommandForAllResourcesAsync(c.Services, KnownResourceCommands.StopCommand, c.CancellationToken);