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(); }
public virtual void ExecuteCommand(IScriptCommand command) { command.Execute(); }