8 references to StopAsync
Aspire.Tray.Tests (8)
CliAppHostCommandsTests.cs (7)
89
await commands.
StopAsync
(host, TestContext.Current.CancellationToken));
102
var task = commands.
StopAsync
(Host(), shutdown.Token);
138
var task = commands.
StopAsync
(Host(), TestContext.Current.CancellationToken);
156
.
StopAsync
(Host(), TestContext.Current.CancellationToken);
169
var task = commands.
StopAsync
(Host(), TestContext.Current.CancellationToken);
189
.
StopAsync
(Host(), TestContext.Current.CancellationToken);
199
await Assert.ThrowsAnyAsync<OperationCanceledException>(() => commands.
StopAsync
(Host(), new CancellationToken(canceled: true)));
src\Aspire.Tray\Common\CliAppHostClient.cs (1)
38
=> _commands.
StopAsync
(id, cancellationToken);