2 implementations of IGracefulShutdownWindow
aspire (1)
ConsoleCancellationManager.cs (1)
58
internal sealed class ConsoleCancellationManager : IDisposable,
IGracefulShutdownWindow
Aspire.Cli.Tests (1)
TestServices\TestGracefulShutdownWindow.cs (1)
14
internal sealed class TestGracefulShutdownWindow :
IGracefulShutdownWindow
, IDisposable
19 references to IGracefulShutdownWindow
aspire (14)
ConsoleCancellationManager.cs (2)
16
/// <see cref="
IGracefulShutdownWindow
"/>.
165
/// ladders through <see cref="
IGracefulShutdownWindow
"/>.
DotNet\DotNetCliRunner.cs (1)
160
public
IGracefulShutdownWindow
? ShutdownService { get; set; }
Program.cs (1)
364
builder.Services.AddSingleton<
IGracefulShutdownWindow
>(sp => sp.GetRequiredService<ConsoleCancellationManager>());
Projects\AppHostServerSession.cs (3)
40
private readonly
IGracefulShutdownWindow
? _shutdownService;
70
IGracefulShutdownWindow
? shutdownService,
495
IGracefulShutdownWindow
? shutdownService,
Projects\DotNetAppHostProject.cs (2)
53
private readonly
IGracefulShutdownWindow
_shutdownService;
95
IGracefulShutdownWindow
shutdownService,
Projects\GuestAppHostProject.cs (2)
61
private readonly
IGracefulShutdownWindow
_shutdownService;
95
IGracefulShutdownWindow
shutdownService,
Projects\IAppHostServerProject.cs (1)
70
IGracefulShutdownWindow
? ShutdownService = null);
Projects\IAppHostServerSession.cs (1)
95
IGracefulShutdownWindow
? shutdownService,
Projects\IGuestProcessLauncher.cs (1)
38
IGracefulShutdownWindow
? ShutdownService = null);
Aspire.Cli.Tests (5)
DotNet\ProcessExecutionTests.cs (1)
365
IGracefulShutdownWindow
shutdownService)
Projects\AppHostServerSessionTests.cs (1)
634
IGracefulShutdownWindow
? shutdownService = null,
TestServices\FakeAppHostServerSession.cs (1)
115
IGracefulShutdownWindow
? shutdownService,
TestServices\TestGracefulShutdownWindow.cs (1)
7
/// Test double for <see cref="
IGracefulShutdownWindow
"/>. Unlike the real
Utils\CliTestHelper.cs (1)
218
services.AddSingleton<
IGracefulShutdownWindow
>(sp => sp.GetRequiredService<ConsoleCancellationManager>());