예제 #1
0
        public override int GetHashCode()
        {
            int result = 1;

            result = result * 13 + ValueId.GetHashCode();
            result = result * 13 + ValueCategory.GetHashCode();

            return(result);
        }
예제 #2
0
 public override int GetHashCode()
 {
     unchecked
     {
         var hashCode = (int)HomeId;
         hashCode = (hashCode * 397) ^ NodeId.GetHashCode();
         hashCode = (hashCode * 397) ^ ValueId.GetHashCode();
         return(hashCode);
     }
 }