9 references to StopResourceAsync
Aspire.Hosting (2)
ApplicationModel\CommandsConfigurationExtensions.cs (2)
59
await orchestrator.
StopResourceAsync
(context.ResourceName, context.CancellationToken).ConfigureAwait(false);
98
await orchestrator.
StopResourceAsync
(context.ResourceName, context.CancellationToken).ConfigureAwait(false);
Aspire.Hosting.Tests (7)
Dcp\ApplicationOrchestratorProxy.cs (1)
19
public Task StopResourceAsync(string resourceName, CancellationToken cancellationToken) => _orchestrator.
StopResourceAsync
(resourceName, cancellationToken);
DistributedApplicationTests.cs (6)
151
await orchestrator.
StopResourceAsync
(resourceEvent.ResourceId, token).DefaultTimeout(TestConstants.LongTimeoutTimeSpan);
228
await orchestrator.
StopResourceAsync
(notStartedResourceEvent.ResourceId, token).DefaultTimeout(TestConstants.LongTimeoutTimeSpan);
435
await orchestrator.
StopResourceAsync
(notStartedResourceEvent.ResourceId, token).DefaultTimeout(TestConstants.LongTimeoutTimeSpan);
520
await orchestrator.
StopResourceAsync
(runningResourceEvent.ResourceId, token).DefaultTimeout(TestConstants.ExtraLongTimeoutTimeSpan);
1086
await orchestrator.
StopResourceAsync
(redisContainer.Metadata.Name, token).DefaultTimeout(TestConstants.DefaultOrchestratorTestTimeout);
1123
await orchestrator.
StopResourceAsync
(serviceA.Metadata.Name, token).DefaultTimeout(TestConstants.DefaultOrchestratorTestTimeout);