Exemplo n.º 1
0
        public override int GetHashCode()
        {
            unchecked // Overflow is fine, just wrap
            {
                int hashCode = 41;

                if (StaticPlot != null)
                {
                    hashCode = hashCode * 59 + StaticPlot.GetHashCode();
                }

                if (PlotlyServerUrl != null)
                {
                    hashCode = hashCode * 59 + PlotlyServerUrl.GetHashCode();
                }

                if (Editable != null)
                {
                    hashCode = hashCode * 59 + Editable.GetHashCode();
                }

                if (Edits != null)
                {
                    hashCode = hashCode * 59 + Edits.GetHashCode();
                }

                if (AutoSizable != null)
                {
                    hashCode = hashCode * 59 + AutoSizable.GetHashCode();
                }

                if (Responsive != null)
                {
                    hashCode = hashCode * 59 + Responsive.GetHashCode();
                }

                if (FillFrame != null)
                {
                    hashCode = hashCode * 59 + FillFrame.GetHashCode();
                }

                if (FrameMargins != null)
                {
                    hashCode = hashCode * 59 + FrameMargins.GetHashCode();
                }

                if (ScrollZoom != null)
                {
                    hashCode = hashCode * 59 + ScrollZoom.GetHashCode();
                }

                if (DoubleClick != null)
                {
                    hashCode = hashCode * 59 + DoubleClick.GetHashCode();
                }

                if (DoubleClickDelay != null)
                {
                    hashCode = hashCode * 59 + DoubleClickDelay.GetHashCode();
                }

                if (ShowAxisDragHandles != null)
                {
                    hashCode = hashCode * 59 + ShowAxisDragHandles.GetHashCode();
                }

                if (ShowAxisRangeEntryBoxes != null)
                {
                    hashCode = hashCode * 59 + ShowAxisRangeEntryBoxes.GetHashCode();
                }

                if (ShowTips != null)
                {
                    hashCode = hashCode * 59 + ShowTips.GetHashCode();
                }

                if (ShowLink != null)
                {
                    hashCode = hashCode * 59 + ShowLink.GetHashCode();
                }

                if (LinkText != null)
                {
                    hashCode = hashCode * 59 + LinkText.GetHashCode();
                }

                if (SendData != null)
                {
                    hashCode = hashCode * 59 + SendData.GetHashCode();
                }

                if (ShowSources != null)
                {
                    hashCode = hashCode * 59 + ShowSources.GetHashCode();
                }

                if (DisplayModeBar != null)
                {
                    hashCode = hashCode * 59 + DisplayModeBar.GetHashCode();
                }

                if (ShowSendToCloud != null)
                {
                    hashCode = hashCode * 59 + ShowSendToCloud.GetHashCode();
                }

                if (ShowEditInChartStudio != null)
                {
                    hashCode = hashCode * 59 + ShowEditInChartStudio.GetHashCode();
                }

                if (ModeBarButtonsToRemove != null)
                {
                    hashCode = hashCode * 59 + ModeBarButtonsToRemove.GetHashCode();
                }

                if (ModeBarButtonsToAdd != null)
                {
                    hashCode = hashCode * 59 + ModeBarButtonsToAdd.GetHashCode();
                }

                if (ModeBarButtons != null)
                {
                    hashCode = hashCode * 59 + ModeBarButtons.GetHashCode();
                }

                if (ToImageButtonOptions != null)
                {
                    hashCode = hashCode * 59 + ToImageButtonOptions.GetHashCode();
                }

                if (DisplayLogo != null)
                {
                    hashCode = hashCode * 59 + DisplayLogo.GetHashCode();
                }

                if (Watermark != null)
                {
                    hashCode = hashCode * 59 + Watermark.GetHashCode();
                }

                if (PlotGlPixelRatio != null)
                {
                    hashCode = hashCode * 59 + PlotGlPixelRatio.GetHashCode();
                }

                if (SetBackground != null)
                {
                    hashCode = hashCode * 59 + SetBackground.GetHashCode();
                }

                if (TopoJsonUrl != null)
                {
                    hashCode = hashCode * 59 + TopoJsonUrl.GetHashCode();
                }

                if (MapboxAccessToken != null)
                {
                    hashCode = hashCode * 59 + MapboxAccessToken.GetHashCode();
                }

                if (Logging != null)
                {
                    hashCode = hashCode * 59 + Logging.GetHashCode();
                }

                if (NotifyOnLogging != null)
                {
                    hashCode = hashCode * 59 + NotifyOnLogging.GetHashCode();
                }

                if (QueueLength != null)
                {
                    hashCode = hashCode * 59 + QueueLength.GetHashCode();
                }

                if (GlobalTransforms != null)
                {
                    hashCode = hashCode * 59 + GlobalTransforms.GetHashCode();
                }

                if (Locale != null)
                {
                    hashCode = hashCode * 59 + Locale.GetHashCode();
                }

                if (Locales != null)
                {
                    hashCode = hashCode * 59 + Locales.GetHashCode();
                }

                return(hashCode);
            }
        }