Exemplo n.º 1
0
 //
 static void Main(string[] args)
 {
     SetupLogging();
     SetupCommanderOptions();
     SetupCommander();
     ShowTitle();
     while (true)
     {
         try
         {
             ShowPrompt();
             var command = _commander.ParseCommand(Console.ReadLine());
             var result  = _commander.ExecuteCommand(command);
             //Console.ReadKey();
         }
         catch (Exception e)
         {
             Console.WriteLine(e.Message);
         }
     }
 }
Exemplo n.º 2
0
        public void SendOrder()

        {
            commander.ExecuteCommand();
        }