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