public bool Equals(WaymarkPreset other) { return(A.Equals(other.A) && B.Equals(other.B) && C.Equals(other.C) && D.Equals(other.D) && One.Equals(other.One) && Two.Equals(other.Two) && Three.Equals(other.Three) && Four.Equals(other.Four) && MapID == other.MapID); }
public override bool Equals(object obj) { if (obj is Tuple4 <TFirst, TSecond, TThree, TFour> ) { var other = (Tuple4 <TFirst, TSecond, TThree, TFour>)obj; return(First.Equals(other.First) && Second.Equals(other.Second) && Three.Equals(other.Three) && Four.Equals(other.Four)); } return(base.Equals(obj)); }