Пример #1
0
        public override int GetHashCode()
        {
            var hashCode = -69891878;

            hashCode = hashCode * -1521134295 + XDim.GetHashCode();
            hashCode = hashCode * -1521134295 + YDim.GetHashCode();
            hashCode = hashCode * -1521134295 + ZDim.GetHashCode();
            return(hashCode);
        }
Пример #2
0
 public override int GetHashCode()
 {
     unchecked
     {
         var hashCode = XDim.GetHashCode();
         hashCode = (hashCode * 397) ^ YDim.GetHashCode();
         hashCode = (hashCode * 397) ^ (AccessNode != null ? AccessNode.GetHashCode() : 0);
         return(hashCode);
     }
 }