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