Beispiel #1
0
 public String Invoke(String cmd)
 {
     try
     {
         CmdDispatcher pt = new CmdDispatcher(this, cmd);
         return(pt.Dispatch());
     }
     catch (Exception e)
     {
         if (Debug)
         {
             return(e.ToString());
         }
         else
         {
             return(e.Message);
         }
     }
 }
Beispiel #2
0
 public String Invoke(String cmd)
 {
     try
     {
         CmdDispatcher pt = new CmdDispatcher(this, cmd);
         return pt.Dispatch();
     }
     catch (Exception e)
     {
         if (Debug)
         {
             return e.ToString();
         }
         else
         {
             return e.Message;
         }
     }
 }