System.Xml.Xsl.Runtime.Int32Aggregator.Sum C# (CSharp) Method

Sum() public method

public Sum ( int value ) : void
value int
return void
        public void Sum(int value) {
            if (this.cnt == 0) {
                this.result = value;
                this.cnt = 1;
            }
            else {
                this.result += value;
            }
        }