public static SingleGraphCalculator operator *(SingleGraphCalculator a, float multiplier) { SingleGraphCalculator result = a.Clone(); result.minValue = a.minValue * multiplier; result.maxValue = a.maxValue * multiplier; return(result); }
public SingleGraphCalculator Clone() { var result = new SingleGraphCalculator(); result.minValue = minValue; result.maxValue = maxValue; result.growth = growth; return(result); }