public override int GetHashCode() { int hash = 1; if (Code.Length != 0) { hash ^= Code.GetHashCode(); } if (Open != 0F) { hash ^= Open.GetHashCode(); } if (High != 0F) { hash ^= High.GetHashCode(); } if (Low != 0F) { hash ^= Low.GetHashCode(); } if (Close != 0F) { hash ^= Close.GetHashCode(); } if (Volume != 0F) { hash ^= Volume.GetHashCode(); } if (Date.Length != 0) { hash ^= Date.GetHashCode(); } if (Amount != 0F) { hash ^= Amount.GetHashCode(); } if (DateStamp.Length != 0) { hash ^= DateStamp.GetHashCode(); } if (Datetime.Length != 0) { hash ^= Datetime.GetHashCode(); } if (TimeStamp.Length != 0) { hash ^= TimeStamp.GetHashCode(); } return(hash); }
public override int GetHashCode() { int hash = 1; if (Price != 0F) { hash ^= Price.GetHashCode(); } if (Date.Length != 0) { hash ^= Date.GetHashCode(); } if (Datetime.Length != 0) { hash ^= Datetime.GetHashCode(); } if (SendingTime.Length != 0) { hash ^= SendingTime.GetHashCode(); } if (TransactTime.Length != 0) { hash ^= TransactTime.GetHashCode(); } if (Amount != 0F) { hash ^= Amount.GetHashCode(); } if (Towards != 0L) { hash ^= Towards.GetHashCode(); } if (Code.Length != 0) { hash ^= Code.GetHashCode(); } if (User.Length != 0) { hash ^= User.GetHashCode(); } if (Strategy.Length != 0) { hash ^= Strategy.GetHashCode(); } if (Type.Length != 0) { hash ^= Type.GetHashCode(); } if (BidModel.Length != 0) { hash ^= BidModel.GetHashCode(); } if (AmountModel.Length != 0) { hash ^= AmountModel.GetHashCode(); } if (OrderId.Length != 0) { hash ^= OrderId.GetHashCode(); } if (TradeId.Length != 0) { hash ^= TradeId.GetHashCode(); } if (Status.Length != 0) { hash ^= Status.GetHashCode(); } return(hash); }