Example #1
0
 public static void ServiceStart()
 {
     ReplicatorThread.Start();
     if (Environment.UserInteractive)
     {
         Console.WriteLine("send \"exit\" to quit:");
         while (true)
         {
             var texto = Console.ReadLine();
             if (texto == "exit")
             {
                 ReplicatorThread.Stop();
                 break;
             }
         }
     }
 }
Example #2
0
 public static void ServiceStop()
 {
     ReplicatorThread.Stop();
 }