public void Execute(CommandCall commandCall, IEvaluator evaluator, IResultRecorder resultRecorder) { IExecuteStrategy strategy; if (commandCall.Element.IsNamed("table")) { strategy = new TableExecuteStrategy(); } else { strategy = new DefaultExecuteStrategy(); } strategy.Execute(commandCall, evaluator, resultRecorder); }