public void Visit(IfChangedBlockTag ifChangedBlockTag) { _result += ifChangedBlockTag.ToString(); }
public void Visit(IfChangedBlockTag ifChangedBlockTag) { // This maintains state, so there's only one. if (_isChangedRenderer == null) { _isChangedRenderer = new IfChangedRenderer(this); } AppendTextToCurrentAccumulator(_isChangedRenderer.Next(ifChangedBlockTag.UniqueId, ifChangedBlockTag.LiquidBlock)); }