2 implementations of IApplicationLifetime
Microsoft.AspNetCore.Hosting (1)
Internal\ApplicationLifetime.cs (1)
17internal sealed class ApplicationLifetime : IApplicationLifetime, Extensions.Hosting.IApplicationLifetime, IHostApplicationLifetime
Microsoft.Extensions.Hosting (1)
Internal\ApplicationLifetime.cs (1)
18public class ApplicationLifetime : IApplicationLifetime, IHostApplicationLifetime
2 references to IApplicationLifetime
Microsoft.AspNetCore.Hosting (1)
Internal\WebHost.cs (1)
72_applicationServiceCollection.AddSingleton<Extensions.Hosting.IApplicationLifetime>(services
Microsoft.Extensions.Hosting (1)
HostBuilder.cs (1)
308services.AddSingleton(s => (IApplicationLifetime)s.GetRequiredService<IHostApplicationLifetime>());