public override int GetHashCode() { unchecked // Overflow is fine, just wrap { int hashCode = 41; if (Symbol != null) { hashCode = hashCode * 59 + Symbol.GetHashCode(); } if (SymbolArray != null) { hashCode = hashCode * 59 + SymbolArray.GetHashCode(); } if (Angle != null) { hashCode = hashCode * 59 + Angle.GetHashCode(); } if (AngleArray != null) { hashCode = hashCode * 59 + AngleArray.GetHashCode(); } if (AllowOverlap != null) { hashCode = hashCode * 59 + AllowOverlap.GetHashCode(); } if (Opacity != null) { hashCode = hashCode * 59 + Opacity.GetHashCode(); } if (OpacityArray != null) { hashCode = hashCode * 59 + OpacityArray.GetHashCode(); } if (Size != null) { hashCode = hashCode * 59 + Size.GetHashCode(); } if (SizeArray != null) { hashCode = hashCode * 59 + SizeArray.GetHashCode(); } if (SizeRef != null) { hashCode = hashCode * 59 + SizeRef.GetHashCode(); } if (SizeMin != null) { hashCode = hashCode * 59 + SizeMin.GetHashCode(); } if (SizeMode != null) { hashCode = hashCode * 59 + SizeMode.GetHashCode(); } if (Color != null) { hashCode = hashCode * 59 + Color.GetHashCode(); } if (ColorArray != null) { hashCode = hashCode * 59 + ColorArray.GetHashCode(); } if (CAuto != null) { hashCode = hashCode * 59 + CAuto.GetHashCode(); } if (CMin != null) { hashCode = hashCode * 59 + CMin.GetHashCode(); } if (CMax != null) { hashCode = hashCode * 59 + CMax.GetHashCode(); } if (CMid != null) { hashCode = hashCode * 59 + CMid.GetHashCode(); } if (ColorScale != null) { hashCode = hashCode * 59 + ColorScale.GetHashCode(); } if (AutoColorScale != null) { hashCode = hashCode * 59 + AutoColorScale.GetHashCode(); } if (ReverseScale != null) { hashCode = hashCode * 59 + ReverseScale.GetHashCode(); } if (ShowScale != null) { hashCode = hashCode * 59 + ShowScale.GetHashCode(); } if (ColorBar != null) { hashCode = hashCode * 59 + ColorBar.GetHashCode(); } if (ColorAxis != null) { hashCode = hashCode * 59 + ColorAxis.GetHashCode(); } if (SymbolSrc != null) { hashCode = hashCode * 59 + SymbolSrc.GetHashCode(); } if (AngleSrc != null) { hashCode = hashCode * 59 + AngleSrc.GetHashCode(); } if (OpacitySrc != null) { hashCode = hashCode * 59 + OpacitySrc.GetHashCode(); } if (SizeSrc != null) { hashCode = hashCode * 59 + SizeSrc.GetHashCode(); } if (ColorSrc != null) { hashCode = hashCode * 59 + ColorSrc.GetHashCode(); } return(hashCode); } }
/// <inheritdoc /> public override int GetHashCode() { unchecked // Overflow is fine, just wrap { var hashCode = 41; if (Symbol != null) { hashCode = hashCode * 59 + Symbol.GetHashCode(); } if (SymbolArray != null) { hashCode = hashCode * 59 + SymbolArray.GetHashCode(); } if (Opacity != null) { hashCode = hashCode * 59 + Opacity.GetHashCode(); } if (OpacityArray != null) { hashCode = hashCode * 59 + OpacityArray.GetHashCode(); } if (Size != null) { hashCode = hashCode * 59 + Size.GetHashCode(); } if (SizeArray != null) { hashCode = hashCode * 59 + SizeArray.GetHashCode(); } if (MaxDisplayed != null) { hashCode = hashCode * 59 + MaxDisplayed.GetHashCode(); } if (SizeRef != null) { hashCode = hashCode * 59 + SizeRef.GetHashCode(); } if (SizeMin != null) { hashCode = hashCode * 59 + SizeMin.GetHashCode(); } if (SizeMode != null) { hashCode = hashCode * 59 + SizeMode.GetHashCode(); } if (Line != null) { hashCode = hashCode * 59 + Line.GetHashCode(); } if (Gradient != null) { hashCode = hashCode * 59 + Gradient.GetHashCode(); } if (Color != null) { hashCode = hashCode * 59 + Color.GetHashCode(); } if (ColorArray != null) { hashCode = hashCode * 59 + ColorArray.GetHashCode(); } if (CAuto != null) { hashCode = hashCode * 59 + CAuto.GetHashCode(); } if (CMin != null) { hashCode = hashCode * 59 + CMin.GetHashCode(); } if (CMax != null) { hashCode = hashCode * 59 + CMax.GetHashCode(); } if (CMid != null) { hashCode = hashCode * 59 + CMid.GetHashCode(); } if (ColorScale != null) { hashCode = hashCode * 59 + ColorScale.GetHashCode(); } if (AutoColorScale != null) { hashCode = hashCode * 59 + AutoColorScale.GetHashCode(); } if (ReverseScale != null) { hashCode = hashCode * 59 + ReverseScale.GetHashCode(); } if (ShowScale != null) { hashCode = hashCode * 59 + ShowScale.GetHashCode(); } if (ColorBar != null) { hashCode = hashCode * 59 + ColorBar.GetHashCode(); } if (ColorAxis != null) { hashCode = hashCode * 59 + ColorAxis.GetHashCode(); } if (SymbolSrc != null) { hashCode = hashCode * 59 + SymbolSrc.GetHashCode(); } if (OpacitySrc != null) { hashCode = hashCode * 59 + OpacitySrc.GetHashCode(); } if (SizeSrc != null) { hashCode = hashCode * 59 + SizeSrc.GetHashCode(); } if (ColorSrc != null) { hashCode = hashCode * 59 + ColorSrc.GetHashCode(); } return(hashCode); } }