2 implementations of ApplicationStarted
Microsoft.AspNetCore.Hosting (2)
GenericHost\GenericWebHostApplicationLifetime.cs (1)
17public CancellationToken ApplicationStarted => _applicationLifetime.ApplicationStarted;
Internal\ApplicationLifetime.cs (1)
34public CancellationToken ApplicationStarted => _startedSource.Token;
6 references to ApplicationStarted
Microsoft.AspNetCore.Hosting.Tests (6)
WebHostTests.cs (6)
175Assert.True(lifetime2.ApplicationStarted.IsCancellationRequested); 415Assert.False(applicationLifetime2.ApplicationStarted.IsCancellationRequested); 419Assert.True(applicationLifetime2.ApplicationStarted.IsCancellationRequested); 439var started2 = RegisterCallbacksThatThrow(applicationLifetime2.ApplicationStarted); 445Assert.True(applicationLifetime2.ApplicationStarted.IsCancellationRequested); 688var started2 = RegisterCallbacksThatThrow(applicationLifetime2.ApplicationStarted);