8 implementations of ApplicationStarted
Aspire.Hosting.Testing.Tests (1)
ResourceLoggerForwarderServiceTests.cs (1)
172public CancellationToken ApplicationStarted { get; }
Aspire.Hosting.Tests (4)
Cli\CliOrphanDetectorTests.cs (1)
285public CancellationToken ApplicationStarted => throw new NotImplementedException();
Dashboard\DashboardLifecycleHookTests.cs (1)
660public CancellationToken ApplicationStarted { get; }
ResourceNotificationTests.cs (1)
741public CancellationToken ApplicationStarted { get; }
Utils\TestHostApplicationLifetime.cs (1)
10public CancellationToken ApplicationStarted { get; }
Microsoft.AspNetCore.Hosting (1)
Internal\ApplicationLifetime.cs (1)
34public CancellationToken ApplicationStarted => _startedSource.Token;
Microsoft.Extensions.Diagnostics.HealthChecks.Common.Tests (1)
MockHostApplicationLifetime.cs (1)
16public CancellationToken ApplicationStarted { get; }
Microsoft.Extensions.Hosting (1)
Internal\ApplicationLifetime.cs (1)
36public CancellationToken ApplicationStarted => _startedSource.Token;
13 references to ApplicationStarted
Aspire.Dashboard (1)
DashboardWebApplication.cs (1)
359_app.Lifetime.ApplicationStarted.Register(() =>
Aspire.Hosting.Testing (2)
DistributedApplicationFactory.cs (1)
516using var applicationStartedRegistration = _hostApplicationLifetime?.ApplicationStarted.Register(
DistributedApplicationHostingTestingExtensions.cs (1)
173if (!lifetime.ApplicationStarted.IsCancellationRequested)
Microsoft.AspNetCore (1)
WebApplication.cs (1)
259private bool IsRunning => Lifetime.ApplicationStarted.IsCancellationRequested && !Lifetime.ApplicationStopped.IsCancellationRequested;
Microsoft.AspNetCore.Hosting (1)
GenericHost\GenericWebHostApplicationLifetime.cs (1)
17public CancellationToken ApplicationStarted => _applicationLifetime.ApplicationStarted;
Microsoft.AspNetCore.Http.Connections (1)
Internal\HttpConnectionManager.cs (1)
39appLifetime.ApplicationStarted.Register(Start);
Microsoft.Extensions.Diagnostics.HealthChecks.Common (1)
ApplicationLifecycleHealthCheck.cs (1)
46bool isStarted = _appLifetime.ApplicationStarted.IsCancellationRequested;
Microsoft.Extensions.Hosting (1)
Internal\ConsoleLifetime.cs (1)
80_applicationStartedRegistration = ApplicationLifetime.ApplicationStarted.Register(state =>
Microsoft.Extensions.Hosting.Abstractions (1)
IApplicationLifetime.cs (1)
19/// <inheritdoc cref="IHostApplicationLifetime.ApplicationStarted" />
Microsoft.Extensions.Hosting.Systemd (1)
SystemdLifetime.cs (1)
75_applicationStartedRegistration = ApplicationLifetime.ApplicationStarted.Register(state =>
Microsoft.Extensions.Hosting.WindowsServices (1)
WindowsServiceLifetime.cs (1)
78ApplicationLifetime.ApplicationStarted.Register(() =>
Stress.ApiService (2)
Program.cs (2)
37app.Lifetime.ApplicationStarted.Register(ConsoleStresser.Stress); 39app.Lifetime.ApplicationStarted.Register(() =>