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