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)
582=> _host.Services.GetService<DistributedApplicationLifecycle>()?.LogStartupInformation();
DistributedApplicationBuilder.cs (3)
411_innerBuilder.Services.AddSingleton<DistributedApplicationLifecycle>(); 412_innerBuilder.Services.AddHostedService<DistributedApplicationLifecycle>(sp => sp.GetRequiredService<DistributedApplicationLifecycle>());
Aspire.Hosting.Tests (2)
DistributedApplicationTests.cs (2)
171var lifecycle = new DistributedApplicationLifecycle( 225var lifecycle = new DistributedApplicationLifecycle(