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)
456var result = await resourceCommandService.ExecuteCommandAsync(resource, KnownResourceCommands.StopCommand, stopCancellationToken).ConfigureAwait(false); 512.SingleOrDefault(a => a.Name == KnownResourceCommands.StopCommand); 525name: KnownResourceCommands.StopCommand,
Aspire.Hosting.Maui.Tests (3)
MauiBuildQueueTests.cs (3)
592.Single(a => a.Name == KnownResourceCommands.StopCommand); 625.Single(a => a.Name == KnownResourceCommands.StopCommand); 1145name: 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)
221command => Assert.Equal(KnownResourceCommands.StopCommand, command.Name),
Dcp\DcpExecutorTests.cs (2)
11580a => Assert.Equal(KnownResourceCommands.StopCommand, a.Name), 11589a => Assert.Equal(KnownResourceCommands.StopCommand, a.Name),
Eventing\DistributedApplicationBuilderEventingTests.cs (1)
393await app.ResourceCommands.ExecuteCommandAsync("redis", KnownResourceCommands.StopCommand);
ResourceCommandServiceTests.cs (1)
437custom.WithCommand(name: KnownResourceCommands.StopCommand,
WithUrlsTests.cs (1)
1189var stopResult = await app.ResourceCommands.ExecuteCommandAsync(resourceA.Resource, KnownResourceCommands.StopCommand).DefaultTimeout(TestConstants.DefaultOrchestratorTestTimeout);
Stress.AppHost (1)
CommandResources.cs (1)
1188await ExecuteCommandForAllResourcesAsync(c.Services, KnownResourceCommands.StopCommand, c.CancellationToken);