2 instantiations of DistributedApplicationLifecycle
Aspire.Hosting.Tests (2)
DistributedApplicationTests.cs (2)
171
var lifecycle = new
DistributedApplicationLifecycle
(
225
var 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)
171
var
lifecycle = new DistributedApplicationLifecycle(
225
var
lifecycle = new DistributedApplicationLifecycle(