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
22 references to IGracefulShutdownWindow
aspire (17)
ConsoleCancellationManager.cs (2)
16/// <see cref="IGracefulShutdownWindow"/>. 165/// ladders through <see cref="IGracefulShutdownWindow"/>.
DotNet\DotNetCliRunner.cs (1)
142public IGracefulShutdownWindow? ShutdownService { get; set; }
DotNet\ProcessExecution.cs (3)
249/// <see cref="IGracefulShutdownWindow.IsEnabled"/> (true when the running command configured a 251/// starts the central clock via <see cref="IGracefulShutdownWindow.BeginGracefulWindow"/>, so the 258var gracefulShutdownWindow = _options.ShutdownService;
Program.cs (1)
348builder.Services.AddSingleton<IGracefulShutdownWindow>(sp => sp.GetRequiredService<ConsoleCancellationManager>());
Projects\AppHostServerSession.cs (3)
40private readonly IGracefulShutdownWindow? _shutdownService; 69IGracefulShutdownWindow? shutdownService, 484IGracefulShutdownWindow? shutdownService,
Projects\DotNetAppHostProject.cs (2)
50private readonly IGracefulShutdownWindow _shutdownService; 90IGracefulShutdownWindow shutdownService,
Projects\GuestAppHostProject.cs (2)
54private readonly IGracefulShutdownWindow _shutdownService; 85IGracefulShutdownWindow shutdownService,
Projects\IAppHostServerProject.cs (1)
72IGracefulShutdownWindow? ShutdownService = null);
Projects\IAppHostServerSession.cs (1)
92IGracefulShutdownWindow? shutdownService,
Projects\IGuestProcessLauncher.cs (1)
39IGracefulShutdownWindow? ShutdownService = null);
Aspire.Cli.Tests (5)
DotNet\ProcessExecutionTests.cs (1)
426IGracefulShutdownWindow shutdownService)
Projects\AppHostServerSessionTests.cs (1)
548IGracefulShutdownWindow? shutdownService = null,
TestServices\FakeAppHostServerSession.cs (1)
92IGracefulShutdownWindow? shutdownService,
TestServices\TestGracefulShutdownWindow.cs (1)
7/// Test double for <see cref="IGracefulShutdownWindow"/>. Unlike the real
Utils\CliTestHelper.cs (1)
209services.AddSingleton<IGracefulShutdownWindow>(sp => sp.GetRequiredService<ConsoleCancellationManager>());