2 implementations of IApplicationLifetime
Microsoft.AspNetCore.Hosting (2)
GenericHost\GenericWebHostApplicationLifetime.cs (1)
8
internal sealed class GenericWebHostApplicationLifetime :
IApplicationLifetime
Internal\ApplicationLifetime.cs (1)
17
internal sealed class ApplicationLifetime :
IApplicationLifetime
, Extensions.Hosting.IApplicationLifetime, IHostApplicationLifetime
3 references to IApplicationLifetime
Microsoft.AspNetCore.Hosting (3)
GenericHost\GenericWebHostBuilder.cs (1)
61
services.AddSingleton<
IApplicationLifetime
, GenericWebHostApplicationLifetime>();
GenericHost\SlimWebHostBuilder.cs (1)
37
services.AddSingleton<
IApplicationLifetime
, GenericWebHostApplicationLifetime>();
Internal\WebHost.cs (1)
70
_applicationServiceCollection.AddSingleton<AspNetCore.Hosting.
IApplicationLifetime
>(services