Exemple #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);
         }
     }
 }
Exemple #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;
         }
     }
 }