16 references to StopCommand
Aspire.Hosting (2)
ApplicationModel\CommandsConfigurationExtensions.cs (1)
60name: KnownResourceCommands.StopCommand,
ApplicationModel\ResourceCommandService.cs (1)
24[KnownResourceCommands.LegacyStopCommand] = KnownResourceCommands.StopCommand,
Aspire.Hosting.Maui (3)
Lifecycle\MauiBuildQueueEventSubscriber.cs (3)
452var result = await resourceCommandService.ExecuteCommandAsync(resource, KnownResourceCommands.StopCommand, stopCancellationToken).ConfigureAwait(false); 508.SingleOrDefault(a => a.Name == KnownResourceCommands.StopCommand); 521name: KnownResourceCommands.StopCommand,
Aspire.Hosting.Maui.Tests (3)
MauiBuildQueueTests.cs (3)
569.Single(a => a.Name == KnownResourceCommands.StopCommand); 602.Single(a => a.Name == KnownResourceCommands.StopCommand); 1122name: KnownResourceCommands.StopCommand,
Aspire.Hosting.Redis.Tests (1)
RedisFunctionalTests.cs (1)
194var stopResult = await app.ResourceCommands.ExecuteCommandAsync(commanderBuilder.Resource, KnownResourceCommands.StopCommand);
Aspire.Hosting.Tests (6)
Dashboard\DashboardEventHandlersTests.cs (1)
220command => Assert.Equal(KnownResourceCommands.StopCommand, command.Name),
Dcp\DcpExecutorTests.cs (2)
10865a => Assert.Equal(KnownResourceCommands.StopCommand, a.Name), 10874a => Assert.Equal(KnownResourceCommands.StopCommand, a.Name),
Eventing\DistributedApplicationBuilderEventingTests.cs (1)
361await app.ResourceCommands.ExecuteCommandAsync("redis", KnownResourceCommands.StopCommand);
ResourceCommandServiceTests.cs (1)
436custom.WithCommand(name: KnownResourceCommands.StopCommand,
WithUrlsTests.cs (1)
1134var 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);