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

Average() public method

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

            this.cnt++;
        }