Ejemplo n.º 1
0
 /// <inheritdoc />
 public override int GetHashCode()
 {
     unchecked // Overflow is fine, just wrap
     {
         var hashCode = 41;
         if (Color != null)
         {
             hashCode = hashCode * 59 + Color.GetHashCode();
         }
         if (Opacity != null)
         {
             hashCode = hashCode * 59 + Opacity.GetHashCode();
         }
         if (Blend != null)
         {
             hashCode = hashCode * 59 + Blend.GetHashCode();
         }
         if (SizeMin != null)
         {
             hashCode = hashCode * 59 + SizeMin.GetHashCode();
         }
         if (SizeMax != null)
         {
             hashCode = hashCode * 59 + SizeMax.GetHashCode();
         }
         if (Border != null)
         {
             hashCode = hashCode * 59 + Border.GetHashCode();
         }
         return(hashCode);
     }
 }
Ejemplo n.º 2
0
        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);
            }
        }
Ejemplo n.º 3
0
 /// <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);
     }
 }
Ejemplo n.º 4
0
        public override int GetHashCode()
        {
            unchecked // Overflow is fine, just wrap
            {
                int hashCode = 41;

                if (Color is not null)
                {
                    hashCode = hashCode * 59 + Color.GetHashCode();
                }

                if (ColorArray is not null)
                {
                    hashCode = hashCode * 59 + ColorArray.GetHashCode();
                }

                if (CAuto is not null)
                {
                    hashCode = hashCode * 59 + CAuto.GetHashCode();
                }

                if (CMin is not null)
                {
                    hashCode = hashCode * 59 + CMin.GetHashCode();
                }

                if (CMax is not null)
                {
                    hashCode = hashCode * 59 + CMax.GetHashCode();
                }

                if (CMid is not null)
                {
                    hashCode = hashCode * 59 + CMid.GetHashCode();
                }

                if (ColorScale is not null)
                {
                    hashCode = hashCode * 59 + ColorScale.GetHashCode();
                }

                if (AutoColorScale is not null)
                {
                    hashCode = hashCode * 59 + AutoColorScale.GetHashCode();
                }

                if (ReverseScale is not null)
                {
                    hashCode = hashCode * 59 + ReverseScale.GetHashCode();
                }

                if (ShowScale is not null)
                {
                    hashCode = hashCode * 59 + ShowScale.GetHashCode();
                }

                if (ColorBar is not null)
                {
                    hashCode = hashCode * 59 + ColorBar.GetHashCode();
                }

                if (ColorAxis is not null)
                {
                    hashCode = hashCode * 59 + ColorAxis.GetHashCode();
                }

                if (Symbol is not null)
                {
                    hashCode = hashCode * 59 + Symbol.GetHashCode();
                }

                if (SymbolArray is not null)
                {
                    hashCode = hashCode * 59 + SymbolArray.GetHashCode();
                }

                if (Size is not null)
                {
                    hashCode = hashCode * 59 + Size.GetHashCode();
                }

                if (SizeArray is not null)
                {
                    hashCode = hashCode * 59 + SizeArray.GetHashCode();
                }

                if (SizeRef is not null)
                {
                    hashCode = hashCode * 59 + SizeRef.GetHashCode();
                }

                if (SizeMin is not null)
                {
                    hashCode = hashCode * 59 + SizeMin.GetHashCode();
                }

                if (SizeMode is not null)
                {
                    hashCode = hashCode * 59 + SizeMode.GetHashCode();
                }

                if (Opacity is not null)
                {
                    hashCode = hashCode * 59 + Opacity.GetHashCode();
                }

                if (OpacityArray is not null)
                {
                    hashCode = hashCode * 59 + OpacityArray.GetHashCode();
                }

                if (Line is not null)
                {
                    hashCode = hashCode * 59 + Line.GetHashCode();
                }

                if (ColorSrc is not null)
                {
                    hashCode = hashCode * 59 + ColorSrc.GetHashCode();
                }

                if (SymbolSrc is not null)
                {
                    hashCode = hashCode * 59 + SymbolSrc.GetHashCode();
                }

                if (SizeSrc is not null)
                {
                    hashCode = hashCode * 59 + SizeSrc.GetHashCode();
                }

                if (OpacitySrc is not null)
                {
                    hashCode = hashCode * 59 + OpacitySrc.GetHashCode();
                }

                return(hashCode);
            }
        }