2 implementations of ApplicationStopped
Microsoft.AspNetCore.Hosting (2)
GenericHost\GenericWebHostApplicationLifetime.cs (1)
21public CancellationToken ApplicationStopped => _applicationLifetime.ApplicationStopped;
Internal\ApplicationLifetime.cs (1)
47public CancellationToken ApplicationStopped => _stoppedSource.Token;
2 references to ApplicationStopped
Microsoft.AspNetCore.Hosting.Tests (2)
WebHostTests.cs (2)
184Assert.True(lifetime2.ApplicationStopped.IsCancellationRequested); 441var stopped2 = RegisterCallbacksThatThrow(applicationLifetime2.ApplicationStopped);