Пример #1
0
        public override int GetHashCode()
        {
            const int prime  = 31;
            int       result = 1;

            result = prime * result + Layer;
            result = prime * result + Tags.GetHashCode();
            result = prime * result + Position.GetHashCode();
            return(result);
        }
Пример #2
0
        public override int GetHashCode()
        {
            const int prime  = 31;
            int       result = 1;

            result = prime * result + Layer;
            result = prime * result + Tags.GetHashCode();
            result = prime * result + LatLongs.GetHashCode();
            if (LabelPosition != null)
            {
                result = prime * result + LabelPosition.GetHashCode();
            }
            return(result);
        }