Esempio n. 1
0
        /// <summary>
        /// The run service.
        /// </summary>
        /// <param name="args">
        /// The args.
        /// </param>
        /// <param name="winService">
        /// The win service.
        /// </param>
        private static void RunService(string[] args, IWinService winService)
        {
            DefaultService service = new DefaultService(winService);

            service.StartUp(args);
        }