private bool runCommand(IScriptCommand command,
                         IParameterDic pm = null)
 {
     pm = pm ?? new ParameterDic();
     while (command != null && !(command is ResultCommand))
     {
         command = command.Execute(pm);
     }
     return((command == null) && (pm.Error() == null));
 }
 public void ExecuteCommand(IScriptCommand command)
 {
     command.Execute();
 }
Example #3
0
 public virtual void ExecuteCommand(IScriptCommand command)
 {
     command.Execute();
 }