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

            hash = hash * 13 + Id.GetHashCode();
            hash = hash * 13 + Price.GetHashCode();
            hash = hash * 13 + BidTime.GetHashCode();
            hash = hash * 13 + BidOwnerId.GetHashCode();
            hash = hash * 13 + AuctionId.GetHashCode();
            return(hash);
        }
 public override int GetHashCode()
 {
     unchecked
     {
         var hash = 17;
         hash = hash * 29 + Symbol.GetHashCode();
         hash = hash * 29 + MMID.GetHashCode();
         hash = hash * 29 + Bid.GetHashCode();
         hash = hash * 29 + Ask.GetHashCode();
         hash = hash * 29 + BidSize.GetHashCode();
         hash = hash * 29 + AskSize.GetHashCode();
         hash = hash * 29 + BidTime.GetHashCode();
         hash = hash * 29 + BidSize.GetHashCode();
         hash = hash * 29 + Date.GetHashCode();
         hash = hash * 29 + ConditionCode.GetHashCode();
         hash = hash * 29 + AskTime.GetHashCode();
         hash = hash * 29 + BidInfoValid.GetHashCode();
         hash = hash * 29 + AskInfoValid.GetHashCode();
         hash = hash * 29 + EndOfMessageGroup.GetHashCode();
         return(hash);
     }
 }