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