Hout.Service/Program.cs
/// <summary>
/// The main entry point for the application.
/// </summary>
The main entry point for the application.
The main entry point for the application .
static void Main(params string[] args)
        {
            if (args.Contains("launch"))
                Process.Start("http://localhost:5252/");
            if (!IsConsole)
            {
                var servicesToRun = new ServiceBase[]
                {
                    new Service1()
                };
                ServiceBase.Run(servicesToRun);
            }
            else
            {
                var initializer = new Initializer();
                initializer.Initialize();
                Console.ReadLine();
            }
        }
static void Main ( params string [ ] args ) { if ( args . Contains ( " " ) ) Process . Start ( " " ) ; if ( ! IsConsole ) { var servicesToRun = new ServiceBase [ ] { new Service1 ( ) } ; ServiceBase . Run ( servicesToRun ) ; } else { var initializer = new Initializer ( ) ; initializer . Initialize ( ) ; Console . ReadLine ( ) ; } }
The main entry point for the application.
The main entry point for the application .