14 implementations of StopApplication
Aspire.Hosting.Testing.Tests (1)
ResourceLoggerForwarderServiceTests.cs (1)
164public void StopApplication()
Aspire.Hosting.Tests (3)
Dashboard\DashboardLifecycleHookTests.cs (1)
188public void StopApplication()
ResourceNotificationTests.cs (1)
406public void StopApplication()
Utils\TestHostApplicationLifetime.cs (1)
14public void StopApplication()
InMemory.FunctionalTests (1)
src\Servers\Kestrel\shared\test\LifetimeNotImplemented.cs (1)
36public void StopApplication()
Microsoft.AspNetCore.Hosting (1)
Internal\ApplicationLifetime.cs (1)
52public void StopApplication()
Microsoft.AspNetCore.Http.Connections.Tests (2)
ApplicationLifetime.cs (2)
22public void StopApplication() 41public void StopApplication()
Microsoft.AspNetCore.Server.Kestrel.Core.Tests (1)
src\Servers\Kestrel\shared\test\LifetimeNotImplemented.cs (1)
36public void StopApplication()
Microsoft.AspNetCore.SpaServices.Extensions.Tests (1)
SpaServicesExtensionsTests.cs (1)
94public void StopApplication()
Microsoft.Extensions.Diagnostics.HealthChecks.Common.Tests (1)
MockHostApplicationLifetime.cs (1)
39public void StopApplication()
Microsoft.Extensions.Hosting (1)
Internal\ApplicationLifetime.cs (1)
57public void StopApplication()
Sockets.BindTests (1)
src\Servers\Kestrel\shared\test\LifetimeNotImplemented.cs (1)
36public void StopApplication()
Sockets.FunctionalTests (1)
src\Servers\Kestrel\shared\test\LifetimeNotImplemented.cs (1)
36public void StopApplication()
26 references to StopApplication
Aspire.Hosting.Testing (1)
DistributedApplicationFactory.cs (1)
378static state => (state as IHostApplicationLifetime)?.StopApplication(),
http2cat (1)
src\Shared\Http2cat\Http2CatHostedService.cs (1)
134HostApplicationLifetime.StopApplication();
IIS.FunctionalTests (1)
src\Shared\Http2cat\Http2CatHostedService.cs (1)
134HostApplicationLifetime.StopApplication();
IIS.LongTests (1)
src\Shared\Http2cat\Http2CatHostedService.cs (1)
134HostApplicationLifetime.StopApplication();
IIS.NewHandler.FunctionalTests (1)
src\Shared\Http2cat\Http2CatHostedService.cs (1)
134HostApplicationLifetime.StopApplication();
IIS.NewShim.FunctionalTests (1)
src\Shared\Http2cat\Http2CatHostedService.cs (1)
134HostApplicationLifetime.StopApplication();
IISExpress.FunctionalTests (1)
src\Shared\Http2cat\Http2CatHostedService.cs (1)
134HostApplicationLifetime.StopApplication();
Microsoft.AspNetCore.Hosting (2)
GenericHost\GenericWebHostApplicationLifetime.cs (1)
23public void StopApplication() => _applicationLifetime.StopApplication();
WebHostExtensions.cs (1)
158((IHostApplicationLifetime)state!).StopApplication();
Microsoft.AspNetCore.Hosting.Tests (4)
WebHostTests.cs (4)
357Task.Run(() => lifetime.StopApplication()); 509lifetime.StopApplication(); 532lifetime.StopApplication(); 556lifetime.StopApplication();
Microsoft.AspNetCore.Hosting.WindowsServices.Tests (2)
WebHostServiceTests.cs (2)
26applicationLifetime.StopApplication(); 41applicationLifetime.StopApplication();
Microsoft.AspNetCore.Server.HttpSys.FunctionalTests (1)
src\Shared\Http2cat\Http2CatHostedService.cs (1)
134HostApplicationLifetime.StopApplication();
Microsoft.AspNetCore.Server.IIS (1)
Core\IISHttpServer.cs (1)
194server._applicationLifetime.StopApplication();
Microsoft.AspNetCore.Server.IISIntegration (1)
IISMiddleware.cs (1)
116var shutdownTask = Task.Run(_applicationLifetime.StopApplication);
Microsoft.Extensions.Hosting (3)
HostingHostBuilderExtensions.cs (2)
336/// Listens for Ctrl+C or SIGTERM and calls <see cref="IHostApplicationLifetime.StopApplication"/> to start the shutdown process. 351/// Listens for Ctrl+C or SIGTERM and calls <see cref="IHostApplicationLifetime.StopApplication"/> to start the shutdown process.
Internal\ConsoleLifetime.netcoreapp.cs (1)
32ApplicationLifetime.StopApplication();
Microsoft.Extensions.Hosting.Abstractions (2)
HostingAbstractionsHostExtensions.cs (1)
96((IHostApplicationLifetime)state!).StopApplication();
IHost.cs (1)
22/// The application will run until interrupted or until <see cref="IHostApplicationLifetime.StopApplication" /> is called.
Microsoft.Extensions.Hosting.Systemd (1)
SystemdLifetime.netcoreapp.cs (1)
26ApplicationLifetime.StopApplication();
Microsoft.Extensions.Hosting.WindowsServices (2)
WindowsServiceLifetime.cs (2)
151ApplicationLifetime.StopApplication(); 167ApplicationLifetime.StopApplication();