예제 #1
0
 /// <summary>
 /// Console commands handler
 /// </summary>
 private static void KeepAlive()
 {
     while (true)
     {
         var l = Console.ReadLine();
         if (l != "")
         {
             if (l.StartsWith("/"))
             {
                 ConsoleCommands.Handle(l);
             }
         }
     }
 }