core

Microsoft.Extensions.Hosting.WindowsServices

 {
+    namespace Microsoft.Extensions.Hosting {
+        public static class WindowsServiceLifetimeHostBuilderExtensions {
+            public static IHostBuilder UseWindowsService(this IHostBuilder hostBuilder);
+        }
+    }
+    namespace Microsoft.Extensions.Hosting.WindowsServices {
+        public static class WindowsServiceHelpers {
+            public static bool IsWindowsService();
+        }
+        public class WindowsServiceLifetime : ServiceBase, IHostLifetime {
+            public WindowsServiceLifetime(IHostEnvironment environment, IHostApplicationLifetime applicationLifetime, ILoggerFactory loggerFactory, IOptions<HostOptions> optionsAccessor);
+            protected override void Dispose(bool disposing);
+            protected override void OnStart(string[] args);
+            protected override void OnStop();
+            public Task StopAsync(CancellationToken cancellationToken);
+            public Task WaitForStartAsync(CancellationToken cancellationToken);
+        }
+    }
+}