8 references to WindowsServiceLifetime
Microsoft.Extensions.Hosting.WindowsServices (8)
WindowsServiceLifetime.cs (3)
27/// Initializes a new <see cref="WindowsServiceLifetime"/> instance. 39/// Initializes a new instance of the <see cref="WindowsServiceLifetime"/> class. 174/// Releases the resources used by the <see cref="WindowsServiceLifetime"/>.
WindowsServiceLifetimeHostBuilderExtensions.cs (5)
21/// Sets the host lifetime to <see cref="WindowsServiceLifetime"/> and enables logging to the event log with 35/// Sets the host lifetime to <see cref="WindowsServiceLifetime"/> and enables logging to the event log with the application 62/// <see cref="WindowsServiceLifetime"/> and enables logging to the event log with the application 82/// <see cref="WindowsServiceLifetime"/> and enables logging to the event log with the application name as the default source name. 120services.AddSingleton<IHostLifetime, WindowsServiceLifetime>();