Beispiel #1
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (Symbol.Length != 0)
            {
                hash ^= Symbol.GetHashCode();
            }
            if (EuityMarket.Length != 0)
            {
                hash ^= EuityMarket.GetHashCode();
            }
            if (OrderDirection.Length != 0)
            {
                hash ^= OrderDirection.GetHashCode();
            }
            if (PriceType.Length != 0)
            {
                hash ^= PriceType.GetHashCode();
            }
            if (Size != 0)
            {
                hash ^= Size.GetHashCode();
            }
            if (EqtOrFut != false)
            {
                hash ^= EqtOrFut.GetHashCode();
            }
            if (FutureFlag.Length != 0)
            {
                hash ^= FutureFlag.GetHashCode();
            }
            if (FutureAccountType.Length != 0)
            {
                hash ^= FutureAccountType.GetHashCode();
            }
            return(hash);
        }
 public override int GetHashCode()
 {
     return(23 * PriceType.GetHashCode() +
            HorsePrices.GetHashCode());
 }