Exemplo n.º 1
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (Size != 0D)
            {
                hash ^= Size.GetHashCode();
            }
            if (Src.Length != 0)
            {
                hash ^= Src.GetHashCode();
            }
            if (Shape.Length != 0)
            {
                hash ^= Shape.GetHashCode();
            }
            if (Label.Length != 0)
            {
                hash ^= Label.GetHashCode();
            }
            if (CustomLabel.Length != 0)
            {
                hash ^= CustomLabel.GetHashCode();
            }
            if (Zoom.Length != 0)
            {
                hash ^= Zoom.GetHashCode();
            }
            return(hash);
        }
Exemplo n.º 2
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (ShowIcon != false)
            {
                hash ^= ShowIcon.GetHashCode();
            }
            if (ShowLabel != false)
            {
                hash ^= ShowLabel.GetHashCode();
            }
            if (ShowGauge != false)
            {
                hash ^= ShowGauge.GetHashCode();
            }
            if (Style.Length != 0)
            {
                hash ^= Style.GetHashCode();
            }
            if (Min != 0D)
            {
                hash ^= Min.GetHashCode();
            }
            if (Max != 0D)
            {
                hash ^= Max.GetHashCode();
            }
            if (Label.Length != 0)
            {
                hash ^= Label.GetHashCode();
            }
            if (CustomLabel.Length != 0)
            {
                hash ^= CustomLabel.GetHashCode();
            }
            if (Inline != false)
            {
                hash ^= Inline.GetHashCode();
            }
            if (Zoom.Length != 0)
            {
                hash ^= Zoom.GetHashCode();
            }
            return(hash);
        }
Exemplo n.º 3
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (Range.Length != 0)
            {
                hash ^= Range.GetHashCode();
            }
            hash ^= unitKey_.GetHashCode();
            if (Height != 0D)
            {
                hash ^= Height.GetHashCode();
            }
            if (Label.Length != 0)
            {
                hash ^= Label.GetHashCode();
            }
            if (CustomLabel.Length != 0)
            {
                hash ^= CustomLabel.GetHashCode();
            }
            if (LinkTemplate.Length != 0)
            {
                hash ^= LinkTemplate.GetHashCode();
            }
            if (LabelTemplate.Length != 0)
            {
                hash ^= LabelTemplate.GetHashCode();
            }
            if (Rangemax != 0D)
            {
                hash ^= Rangemax.GetHashCode();
            }
            if (Rangemin != 0D)
            {
                hash ^= Rangemin.GetHashCode();
            }
            hash ^= Metadata.GetHashCode();
            if (ShowKey != false)
            {
                hash ^= ShowKey.GetHashCode();
            }
            return(hash);
        }