Beispiel #1
0
        private static IWindowsServiceConfiguration SetConfiguration(string serviceName, Action<WindowsServiceConfiguration> configure)
        {
            var configuration = new WindowsServiceConfiguration(serviceName);
            configure(configuration);

            return configuration;
        }