public void Interpret(CellProcessor processor, Tree <Cell> table) { var action = new IncludeAction(processor); var currentRow = table.Branches[0].Skip(1); currentRow.ExecuteMethod(processor, new SequenceRowSelector(), action).ThrowExceptionIfNotValid(); table.ValueAt(0, 0).SetAttribute(CellAttribute.Folded, action.Result); }
public void Interpret(CellProcessor processor, Tree <Cell> table) { var action = new IncludeAction(processor); var currentRow = table.Branches[0].Skip(1); var selector = new SequenceRowSelector(); processor.ExecuteWithThrow(action, selector.SelectMethodCells(currentRow), selector.SelectParameterCells(currentRow), currentRow.ValueAt(0)); table.ValueAt(0, 0).SetAttribute(CellAttribute.Folded, action.Result); }