public override bool Equals(object obj)
        {
            if (!(obj is OperatorInterpolation))
            {
                return(base.Equals(obj));
            }
            OperatorInterpolation other = (OperatorInterpolation)obj;

            if (other.Operator != this.Operator)
            {
                return(false);
            }
            if (other.InterpolateValue1 != this.InterpolateValue1)
            {
                return(false);
            }
            if (other.InterpolateValue2 != this.InterpolateValue2)
            {
                return(false);
            }
            return(true);
        }
 public static void Register(OperatorInterpolation interpolation)
 {
     Operators[interpolation.Operator] = interpolation;
 }