예제 #1
0
        private static void RunInConsoleMode()
        {
            Console.ForegroundColor = ConsoleColor.Green;
            Console.WriteLine("Running in console mode.");

            HostEngine objWorkflowEngine = new HostEngine();
            objWorkflowEngine.Start();
            Console.WriteLine("Press Enter to stop the service...");
            Console.ReadLine();
            objWorkflowEngine.Stop();
        }
예제 #2
0
        private static void RunInConsoleMode()
        {
            Console.ForegroundColor = ConsoleColor.Green;
            Console.WriteLine("Running in console mode.");

            HostEngine objWorkflowEngine = new HostEngine();

            objWorkflowEngine.Start();
            Console.WriteLine("Press Enter to stop the service...");
            Console.ReadLine();
            objWorkflowEngine.Stop();
        }
예제 #3
0
 protected override void OnStart(string[] args)
 {
     Host = new HostEngine();
     Host.Start();
 }
예제 #4
0
 protected override void OnStart(string[] args)
 {
     Host = new HostEngine();
     Host.Start();
 }