2 instantiations of DistributedApplicationLifecycle
Aspire.Hosting.Tests (2)
DistributedApplicationTests.cs (2)
171var lifecycle = new DistributedApplicationLifecycle( 225var lifecycle = new DistributedApplicationLifecycle(
6 references to DistributedApplicationLifecycle
Aspire.Hosting (4)
DistributedApplication.cs (1)
584=> _host.Services.GetService<DistributedApplicationLifecycle>()?.LogStartupInformation();
DistributedApplicationBuilder.cs (3)
414_innerBuilder.Services.AddSingleton<DistributedApplicationLifecycle>(); 415_innerBuilder.Services.AddHostedService<DistributedApplicationLifecycle>(sp => sp.GetRequiredService<DistributedApplicationLifecycle>());
Aspire.Hosting.Tests (2)
DistributedApplicationTests.cs (2)
171var lifecycle = new DistributedApplicationLifecycle( 225var lifecycle = new DistributedApplicationLifecycle(