public static SingleGraphCalculator operator *(SingleGraphCalculator a, float multiplier)
    {
        SingleGraphCalculator result = a.Clone();

        result.minValue = a.minValue * multiplier;
        result.maxValue = a.maxValue * multiplier;
        return(result);
    }
示例#2
0
    public SingleGraphCalculator Clone()
    {
        var result = new SingleGraphCalculator();

        result.minValue = minValue;
        result.maxValue = maxValue;
        result.growth   = growth;
        return(result);
    }