2 implementations of IAppHostStopper
aspire (1)
Processes\ProcessTreeGracefulShutdownService.cs (1)
25
TimeProvider timeProvider) : IProcessTreeGracefulShutdownSignaler,
IAppHostStopper
Aspire.Cli.Tests (1)
TestServices\TestAppHostStopper.cs (1)
13
internal sealed class TestAppHostStopper :
IAppHostStopper
7 references to IAppHostStopper
aspire (3)
Backchannel\OrphanedAppHostCollector.cs (1)
15
IAppHostStopper
processShutdownService,
Commands\AppHostLauncher.cs (1)
41
IAppHostStopper
processShutdownService,
Program.cs (1)
461
builder.Services.AddTransient<
IAppHostStopper
>(sp => sp.GetRequiredService<ProcessTreeGracefulShutdownService>());
Aspire.Cli.Tests (4)
Commands\AppHostLauncherTests.cs (2)
1267
IAppHostStopper
processShutdownService) =>
1312
IAppHostStopper
? processShutdownService,
TestServices\TestAppHostStopper.cs (1)
10
/// A test <see cref="
IAppHostStopper
"/> that records stop requests and returns a controllable result,
Utils\CliTestHelper.cs (1)
201
services.AddTransient<
IAppHostStopper
>(sp => sp.GetRequiredService<ProcessTreeGracefulShutdownService>());