AmazonScrape.ScoreDistributionControl.GetNewSumOfLowRange C# (CSharp) Method

GetNewSumOfLowRange() private method

Returns the sum total of "low" range scores, given a RangeSlider that just had its value modified.
private GetNewSumOfLowRange ( RangeSliderX sender, double newValue ) : double
sender RangeSliderX
newValue double
return double
        double GetNewSumOfLowRange(RangeSliderX sender,double newValue)
        {
            // Start with the supplied new value
            double total = newValue;
            for (int i = 0; i < 5; i++)
            {
                if (_sliders[i] != sender)
                {
                    total += _sliders[i].Low;
                }
            }
            return total;
        }