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