/// <inheritdoc /> public bool Equals([AllowNull] Line other) { if (other == null) { return(false); } if (ReferenceEquals(this, other)) { return(true); } return (( Color == other.Color || Color != null && Color.Equals(other.Color) ) && ( Width == other.Width || Width != null && Width.Equals(other.Width) ) && ( Dash == other.Dash || Dash != null && Dash.Equals(other.Dash) ) && ( Smoothing == other.Smoothing || Smoothing != null && Smoothing.Equals(other.Smoothing) )); }
public bool Equals([AllowNull] Line other) { if (other == null) { return(false); } if (ReferenceEquals(this, other)) { return(true); } return((Width == other.Width && Width != null && other.Width != null && Width.Equals(other.Width)) && (Dash == other.Dash && Dash != null && other.Dash != null && Dash.Equals(other.Dash)) && (Color == other.Color && Color != null && other.Color != null && Color.Equals(other.Color)) && (Equals(ColorArray, other.ColorArray) || ColorArray != null && other.ColorArray != null && ColorArray.SequenceEqual(other.ColorArray)) && (CAuto == other.CAuto && CAuto != null && other.CAuto != null && CAuto.Equals(other.CAuto)) && (CMin == other.CMin && CMin != null && other.CMin != null && CMin.Equals(other.CMin)) && (CMax == other.CMax && CMax != null && other.CMax != null && CMax.Equals(other.CMax)) && (CMid == other.CMid && CMid != null && other.CMid != null && CMid.Equals(other.CMid)) && (ColorScale == other.ColorScale && ColorScale != null && other.ColorScale != null && ColorScale.Equals(other.ColorScale)) && (AutoColorScale == other.AutoColorScale && AutoColorScale != null && other.AutoColorScale != null && AutoColorScale.Equals(other.AutoColorScale)) && (ReverseScale == other.ReverseScale && ReverseScale != null && other.ReverseScale != null && ReverseScale.Equals(other.ReverseScale)) && (ShowScale == other.ShowScale && ShowScale != null && other.ShowScale != null && ShowScale.Equals(other.ShowScale)) && (ColorBar == other.ColorBar && ColorBar != null && other.ColorBar != null && ColorBar.Equals(other.ColorBar)) && (ColorAxis == other.ColorAxis && ColorAxis != null && other.ColorAxis != null && ColorAxis.Equals(other.ColorAxis)) && (ColorSrc == other.ColorSrc && ColorSrc != null && other.ColorSrc != null && ColorSrc.Equals(other.ColorSrc))); }
public bool Equals([AllowNull] Line other) { if (other == null) { return(false); } if (ReferenceEquals(this, other)) { return(true); } return((Color == other.Color && Color != null && other.Color != null && Color.Equals(other.Color)) && (Width == other.Width && Width != null && other.Width != null && Width.Equals(other.Width)) && (Shape == other.Shape && Shape != null && other.Shape != null && Shape.Equals(other.Shape)) && (Smoothing == other.Smoothing && Smoothing != null && other.Smoothing != null && Smoothing.Equals(other.Smoothing)) && (Dash == other.Dash && Dash != null && other.Dash != null && Dash.Equals(other.Dash)) && (Simplify == other.Simplify && Simplify != null && other.Simplify != null && Simplify.Equals(other.Simplify))); }