Visit(ProgressNode node, ArrayList unused, int unusedToo) { Tally += node.LinesRequiredMethod(_rawUi, _maxWidth); // We don't need to walk all the nodes, once it's larger than the max height, we should stop if (Tally > _maxHeight) { return(false); } return(true); }
internal override bool Visit(ProgressNode node, ArrayList unused, int unusedToo) { PendingProgress.HeightTallyer tally = this; tally.Tally = tally.Tally + node.LinesRequiredMethod(this.rawUi, this.maxWidth); if (this.Tally <= this.maxHeight) { return(true); } else { return(false); } }
Visit(ProgressNode node, ArrayList unused, int unusedToo) { Tally += node.LinesRequiredMethod(_rawUi, _maxWidth); // We don't need to walk all the nodes, once it's larger than the max height, we should stop if (Tally > _maxHeight) { return false; } return true; }
internal override bool Visit(ProgressNode node, ArrayList unused, int unusedToo) { PendingProgress.HeightTallyer tally = this; tally.Tally = tally.Tally + node.LinesRequiredMethod(this.rawUi, this.maxWidth); if (this.Tally <= this.maxHeight) { return true; } else { return false; } }