示例#1
0
            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);
            }
示例#2
0
 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);
     }
 }
示例#3
0
            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;
            }
示例#4
0
			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;
				}
			}