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
3 references to IApplicationLifetime
Microsoft.AspNetCore.Hosting (1)
Internal\WebHost.cs (1)
71_applicationServiceCollection.AddSingleton<Extensions.Hosting.IApplicationLifetime>(services
Microsoft.AspNetCore.Hosting.Tests (1)
WebHostTests.cs (1)
1152Extensions.Hosting.IApplicationLifetime lifetime2)
Microsoft.Extensions.Hosting (1)
HostBuilder.cs (1)
308services.AddSingleton(s => (IApplicationLifetime)s.GetRequiredService<IHostApplicationLifetime>());