Candor.Tasks.MultiWorkerService.Program.Main C# (CSharp) 메소드

Main() 정적인 개인적인 메소드

The main entry point for the application.
static private Main ( ) : void
리턴 void
        static void Main()
        {
            #if DEBUG
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
            Application.Run(new ServiceTestForm(new CandorWorkerRoleService()));
            #else
            ServiceBase[] ServicesToRun;
            ServicesToRun = new ServiceBase[] { new CandorWorkerRoleService() };
            ServiceBase.Run(ServicesToRun);
            #endif
        }
Program