public override bool Equals(object x) { CurveData cd = (CurveData)x; if (base.Equals(x)) { return(cd.XValue == xValue && cd.Y1Value == y1Value && cd.Y2Value == y2Value && cd.y3Value == y3Value && cd.Curve == curve); } return(false); }
public override bool Equals(object x) { if (base.Equals(x)) { CurveData curveData = (CurveData)x; return((curveData.XValue == this.XValue) && (curveData.Y1Value == this.Y1Value) && (curveData.Y2Value == this.Y2Value) && (curveData.Y3Value == this.Y3Value) && (curveData.Curve == this.Curve)); } else { return(false); } }
public override bool Equals(object obj) { if (base.Equals(obj)) { CurveData x = (CurveData)obj; return(x.Xvalue == this.Xvalue && x.Y1value == this.Y1value && x.Y2value == this.Y2value && x.Y3value == this.Y3value && x.Curve == this.Curve); } else { return(false); } }