Пример #1
0
        public override int GetHashCode()
        {
            int result = ID.GetHashCode() ^ GeometryType.GetHashCode();

            if (Path != null)
            {
                result = result ^ Path.GetHashCode();
            }
            if (DisplayName != null)
            {
                result = result ^ DisplayName.GetHashCode();
            }
            return(result);
        }
Пример #2
0
        public override int GetHashCode()
        {
            int hashCode = GeometryType.GetHashCode() ^ OgrGeometry.GetHashCode();

            return(hashCode);
        }