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