2 implementations of ApplicationStopping
Microsoft.AspNetCore.Hosting (2)
GenericHost\GenericWebHostApplicationLifetime.cs (1)
19public CancellationToken ApplicationStopping => _applicationLifetime.ApplicationStopping;
Internal\ApplicationLifetime.cs (1)
40public CancellationToken ApplicationStopping => _stoppingSource.Token;
4 references to ApplicationStopping
InProcessWebSite (2)
src\Servers\IIS\IIS\test\testassets\InProcessWebSite\Startup.cs (1)
603lifetime.ApplicationStopping.WaitHandle.WaitOne();
src\Servers\IIS\IIS\test\testassets\InProcessWebSite\Startup.WebSockets.cs (1)
67await Echo(ws, appLifetime.ApplicationStopping);
Microsoft.AspNetCore.Hosting.Tests (2)
WebHostTests.cs (2)
440var stopping2 = RegisterCallbacksThatThrow(applicationLifetime2.ApplicationStopping); 689var stopping2 = RegisterCallbacksThatThrow(applicationLifetime2.ApplicationStopping);