Exemple #1
0
        /// <inheritdoc />
        public bool Equals([AllowNull] Marker other)
        {
            if (other == null)
            {
                return(false);
            }
            if (ReferenceEquals(this, other))
            {
                return(true);
            }

            return
                ((
                     Line == other.Line ||
                     Line != null &&
                     Line.Equals(other.Line)
                     ) &&
                 (
                     Opacity == other.Opacity ||
                     Opacity != null &&
                     Opacity.Equals(other.Opacity)
                 ) &&
                 (
                     Equals(OpacityArray, other.OpacityArray) ||
                     OpacityArray != null && other.OpacityArray != null &&
                     OpacityArray.SequenceEqual(other.OpacityArray)
                 ) &&
                 (
                     OpacitySrc == other.OpacitySrc ||
                     OpacitySrc != null &&
                     OpacitySrc.Equals(other.OpacitySrc)
                 ));
        }
Exemple #2
0
        public bool Equals([AllowNull] Marker other)
        {
            if (other == null)
            {
                return(false);
            }

            if (ReferenceEquals(this, other))
            {
                return(true);
            }

            return((Symbol == other.Symbol && Symbol != null && other.Symbol != null && Symbol.Equals(other.Symbol)) &&
                   (Equals(SymbolArray, other.SymbolArray) || SymbolArray != null && other.SymbolArray != null && SymbolArray.SequenceEqual(other.SymbolArray)) &&
                   (Angle == other.Angle && Angle != null && other.Angle != null && Angle.Equals(other.Angle)) &&
                   (Equals(AngleArray, other.AngleArray) || AngleArray != null && other.AngleArray != null && AngleArray.SequenceEqual(other.AngleArray)) &&
                   (AllowOverlap == other.AllowOverlap && AllowOverlap != null && other.AllowOverlap != null && AllowOverlap.Equals(other.AllowOverlap)) &&
                   (Opacity == other.Opacity && Opacity != null && other.Opacity != null && Opacity.Equals(other.Opacity)) &&
                   (Equals(OpacityArray, other.OpacityArray) || OpacityArray != null && other.OpacityArray != null && OpacityArray.SequenceEqual(other.OpacityArray)) &&
                   (Size == other.Size && Size != null && other.Size != null && Size.Equals(other.Size)) &&
                   (Equals(SizeArray, other.SizeArray) || SizeArray != null && other.SizeArray != null && SizeArray.SequenceEqual(other.SizeArray)) &&
                   (SizeRef == other.SizeRef && SizeRef != null && other.SizeRef != null && SizeRef.Equals(other.SizeRef)) &&
                   (SizeMin == other.SizeMin && SizeMin != null && other.SizeMin != null && SizeMin.Equals(other.SizeMin)) &&
                   (SizeMode == other.SizeMode && SizeMode != null && other.SizeMode != null && SizeMode.Equals(other.SizeMode)) &&
                   (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)) &&
                   (SymbolSrc == other.SymbolSrc && SymbolSrc != null && other.SymbolSrc != null && SymbolSrc.Equals(other.SymbolSrc)) &&
                   (AngleSrc == other.AngleSrc && AngleSrc != null && other.AngleSrc != null && AngleSrc.Equals(other.AngleSrc)) &&
                   (OpacitySrc == other.OpacitySrc && OpacitySrc != null && other.OpacitySrc != null && OpacitySrc.Equals(other.OpacitySrc)) &&
                   (SizeSrc == other.SizeSrc && SizeSrc != null && other.SizeSrc != null && SizeSrc.Equals(other.SizeSrc)) &&
                   (ColorSrc == other.ColorSrc && ColorSrc != null && other.ColorSrc != null && ColorSrc.Equals(other.ColorSrc)));
        }
Exemple #3
0
        /// <inheritdoc />
        public bool Equals([AllowNull] Marker other)
        {
            if (other == null)
            {
                return(false);
            }
            if (ReferenceEquals(this, other))
            {
                return(true);
            }

            return
                ((
                     Symbol == other.Symbol ||
                     Symbol != null &&
                     Symbol.Equals(other.Symbol)
                     ) &&
                 (
                     Equals(SymbolArray, other.SymbolArray) ||
                     SymbolArray != null && other.SymbolArray != null &&
                     SymbolArray.SequenceEqual(other.SymbolArray)
                 ) &&
                 (
                     Opacity == other.Opacity ||
                     Opacity != null &&
                     Opacity.Equals(other.Opacity)
                 ) &&
                 (
                     Equals(OpacityArray, other.OpacityArray) ||
                     OpacityArray != null && other.OpacityArray != null &&
                     OpacityArray.SequenceEqual(other.OpacityArray)
                 ) &&
                 (
                     Size == other.Size ||
                     Size != null &&
                     Size.Equals(other.Size)
                 ) &&
                 (
                     Equals(SizeArray, other.SizeArray) ||
                     SizeArray != null && other.SizeArray != null &&
                     SizeArray.SequenceEqual(other.SizeArray)
                 ) &&
                 (
                     MaxDisplayed == other.MaxDisplayed ||
                     MaxDisplayed != null &&
                     MaxDisplayed.Equals(other.MaxDisplayed)
                 ) &&
                 (
                     SizeRef == other.SizeRef ||
                     SizeRef != null &&
                     SizeRef.Equals(other.SizeRef)
                 ) &&
                 (
                     SizeMin == other.SizeMin ||
                     SizeMin != null &&
                     SizeMin.Equals(other.SizeMin)
                 ) &&
                 (
                     SizeMode == other.SizeMode ||
                     SizeMode != null &&
                     SizeMode.Equals(other.SizeMode)
                 ) &&
                 (
                     Line == other.Line ||
                     Line != null &&
                     Line.Equals(other.Line)
                 ) &&
                 (
                     Gradient == other.Gradient ||
                     Gradient != null &&
                     Gradient.Equals(other.Gradient)
                 ) &&
                 (
                     Color == other.Color ||
                     Color != null &&
                     Color.Equals(other.Color)
                 ) &&
                 (
                     Equals(ColorArray, other.ColorArray) ||
                     ColorArray != null && other.ColorArray != null &&
                     ColorArray.SequenceEqual(other.ColorArray)
                 ) &&
                 (
                     CAuto == other.CAuto ||
                     CAuto != null &&
                     CAuto.Equals(other.CAuto)
                 ) &&
                 (
                     CMin == other.CMin ||
                     CMin != null &&
                     CMin.Equals(other.CMin)
                 ) &&
                 (
                     CMax == other.CMax ||
                     CMax != null &&
                     CMax.Equals(other.CMax)
                 ) &&
                 (
                     CMid == other.CMid ||
                     CMid != null &&
                     CMid.Equals(other.CMid)
                 ) &&
                 (
                     ColorScale == other.ColorScale ||
                     ColorScale != null &&
                     ColorScale.Equals(other.ColorScale)
                 ) &&
                 (
                     AutoColorScale == other.AutoColorScale ||
                     AutoColorScale != null &&
                     AutoColorScale.Equals(other.AutoColorScale)
                 ) &&
                 (
                     ReverseScale == other.ReverseScale ||
                     ReverseScale != null &&
                     ReverseScale.Equals(other.ReverseScale)
                 ) &&
                 (
                     ShowScale == other.ShowScale ||
                     ShowScale != null &&
                     ShowScale.Equals(other.ShowScale)
                 ) &&
                 (
                     ColorBar == other.ColorBar ||
                     ColorBar != null &&
                     ColorBar.Equals(other.ColorBar)
                 ) &&
                 (
                     ColorAxis == other.ColorAxis ||
                     ColorAxis != null &&
                     ColorAxis.Equals(other.ColorAxis)
                 ) &&
                 (
                     SymbolSrc == other.SymbolSrc ||
                     SymbolSrc != null &&
                     SymbolSrc.Equals(other.SymbolSrc)
                 ) &&
                 (
                     OpacitySrc == other.OpacitySrc ||
                     OpacitySrc != null &&
                     OpacitySrc.Equals(other.OpacitySrc)
                 ) &&
                 (
                     SizeSrc == other.SizeSrc ||
                     SizeSrc != null &&
                     SizeSrc.Equals(other.SizeSrc)
                 ) &&
                 (
                     ColorSrc == other.ColorSrc ||
                     ColorSrc != null &&
                     ColorSrc.Equals(other.ColorSrc)
                 ));
        }
Exemple #4
0
        public bool Equals([AllowNull] Marker other)
        {
            if (other == null)
            {
                return(false);
            }

            if (ReferenceEquals(this, other))
            {
                return(true);
            }

            return((Line == other.Line && Line != null && other.Line != null && Line.Equals(other.Line)) &&
                   (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)) &&
                   (Opacity == other.Opacity && Opacity != null && other.Opacity != null && Opacity.Equals(other.Opacity)) &&
                   (Equals(OpacityArray, other.OpacityArray) || OpacityArray != null && other.OpacityArray != null && OpacityArray.SequenceEqual(other.OpacityArray)) &&
                   (ColorSrc == other.ColorSrc && ColorSrc != null && other.ColorSrc != null && ColorSrc.Equals(other.ColorSrc)) &&
                   (OpacitySrc == other.OpacitySrc && OpacitySrc != null && other.OpacitySrc != null && OpacitySrc.Equals(other.OpacitySrc)));
        }
Exemple #5
0
        public bool Equals([AllowNull] Marker other)
        {
            if (other == null)
            {
                return(false);
            }

            if (ReferenceEquals(this, other))
            {
                return(true);
            }

            return((Color == other.Color && Color is not null && other.Color is not null && Color.Equals(other.Color)) &&
                   (Equals(ColorArray, other.ColorArray) || ColorArray is not null && other.ColorArray is not null && ColorArray.SequenceEqual(other.ColorArray)) &&
                   (CAuto == other.CAuto && CAuto is not null && other.CAuto is not null && CAuto.Equals(other.CAuto)) &&
                   (CMin == other.CMin && CMin is not null && other.CMin is not null && CMin.Equals(other.CMin)) &&
                   (CMax == other.CMax && CMax is not null && other.CMax is not null && CMax.Equals(other.CMax)) &&
                   (CMid == other.CMid && CMid is not null && other.CMid is not null && CMid.Equals(other.CMid)) &&
                   (ColorScale == other.ColorScale && ColorScale is not null && other.ColorScale is not null && ColorScale.Equals(other.ColorScale)) &&
                   (AutoColorScale == other.AutoColorScale && AutoColorScale is not null && other.AutoColorScale is not null && AutoColorScale.Equals(other.AutoColorScale)) &&
                   (ReverseScale == other.ReverseScale && ReverseScale is not null && other.ReverseScale is not null && ReverseScale.Equals(other.ReverseScale)) &&
                   (ShowScale == other.ShowScale && ShowScale is not null && other.ShowScale is not null && ShowScale.Equals(other.ShowScale)) &&
                   (ColorBar == other.ColorBar && ColorBar is not null && other.ColorBar is not null && ColorBar.Equals(other.ColorBar)) &&
                   (ColorAxis == other.ColorAxis && ColorAxis is not null && other.ColorAxis is not null && ColorAxis.Equals(other.ColorAxis)) &&
                   (Symbol == other.Symbol && Symbol is not null && other.Symbol is not null && Symbol.Equals(other.Symbol)) &&
                   (Equals(SymbolArray, other.SymbolArray) || SymbolArray is not null && other.SymbolArray is not null && SymbolArray.SequenceEqual(other.SymbolArray)) &&
                   (Size == other.Size && Size is not null && other.Size is not null && Size.Equals(other.Size)) &&
                   (Equals(SizeArray, other.SizeArray) || SizeArray is not null && other.SizeArray is not null && SizeArray.SequenceEqual(other.SizeArray)) &&
                   (SizeRef == other.SizeRef && SizeRef is not null && other.SizeRef is not null && SizeRef.Equals(other.SizeRef)) &&
                   (SizeMin == other.SizeMin && SizeMin is not null && other.SizeMin is not null && SizeMin.Equals(other.SizeMin)) &&
                   (SizeMode == other.SizeMode && SizeMode is not null && other.SizeMode is not null && SizeMode.Equals(other.SizeMode)) &&
                   (Opacity == other.Opacity && Opacity is not null && other.Opacity is not null && Opacity.Equals(other.Opacity)) &&
                   (Equals(OpacityArray, other.OpacityArray) || OpacityArray is not null && other.OpacityArray is not null && OpacityArray.SequenceEqual(other.OpacityArray)) &&
                   (Line == other.Line && Line is not null && other.Line is not null && Line.Equals(other.Line)) &&
                   (ColorSrc == other.ColorSrc && ColorSrc is not null && other.ColorSrc is not null && ColorSrc.Equals(other.ColorSrc)) &&
                   (SymbolSrc == other.SymbolSrc && SymbolSrc is not null && other.SymbolSrc is not null && SymbolSrc.Equals(other.SymbolSrc)) &&
                   (SizeSrc == other.SizeSrc && SizeSrc is not null && other.SizeSrc is not null && SizeSrc.Equals(other.SizeSrc)) &&
                   (OpacitySrc == other.OpacitySrc && OpacitySrc is not null && other.OpacitySrc is not null && OpacitySrc.Equals(other.OpacitySrc)));
        }
Exemple #6
0
        /// <inheritdoc />
        public bool Equals([AllowNull] Marker other)
        {
            if (other == null)
            {
                return(false);
            }
            if (ReferenceEquals(this, other))
            {
                return(true);
            }

            return
                ((
                     Color == other.Color ||
                     Color != null &&
                     Color.Equals(other.Color)
                     ) &&
                 (
                     Equals(ColorArray, other.ColorArray) ||
                     ColorArray != null && other.ColorArray != null &&
                     ColorArray.SequenceEqual(other.ColorArray)
                 ) &&
                 (
                     Size == other.Size ||
                     Size != null &&
                     Size.Equals(other.Size)
                 ) &&
                 (
                     Equals(SizeArray, other.SizeArray) ||
                     SizeArray != null && other.SizeArray != null &&
                     SizeArray.SequenceEqual(other.SizeArray)
                 ) &&
                 (
                     Symbol == other.Symbol ||
                     Symbol != null &&
                     Symbol.Equals(other.Symbol)
                 ) &&
                 (
                     Equals(SymbolArray, other.SymbolArray) ||
                     SymbolArray != null && other.SymbolArray != null &&
                     SymbolArray.SequenceEqual(other.SymbolArray)
                 ) &&
                 (
                     Opacity == other.Opacity ||
                     Opacity != null &&
                     Opacity.Equals(other.Opacity)
                 ) &&
                 (
                     Equals(OpacityArray, other.OpacityArray) ||
                     OpacityArray != null && other.OpacityArray != null &&
                     OpacityArray.SequenceEqual(other.OpacityArray)
                 ) &&
                 (
                     ColorSrc == other.ColorSrc ||
                     ColorSrc != null &&
                     ColorSrc.Equals(other.ColorSrc)
                 ) &&
                 (
                     SizeSrc == other.SizeSrc ||
                     SizeSrc != null &&
                     SizeSrc.Equals(other.SizeSrc)
                 ) &&
                 (
                     SymbolSrc == other.SymbolSrc ||
                     SymbolSrc != null &&
                     SymbolSrc.Equals(other.SymbolSrc)
                 ) &&
                 (
                     OpacitySrc == other.OpacitySrc ||
                     OpacitySrc != null &&
                     OpacitySrc.Equals(other.OpacitySrc)
                 ));
        }