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

            if (reservation_ != null)
            {
                hash ^= Reservation.GetHashCode();
            }
            if (amountTendered_ != null)
            {
                hash ^= AmountTendered.GetHashCode();
            }
            if (Type != 0)
            {
                hash ^= Type.GetHashCode();
            }
            return(hash);
        }
        public override int GetHashCode()
        {
            int hash = 1;

            if (reservation_ != null)
            {
                hash ^= Reservation.GetHashCode();
            }
            if (amountTendered_ != null)
            {
                hash ^= AmountTendered.GetHashCode();
            }
            if (CheckNumber.Length != 0)
            {
                hash ^= CheckNumber.GetHashCode();
            }
            return(hash);
        }
示例#3
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (groupBooking_ != null)
            {
                hash ^= GroupBooking.GetHashCode();
            }
            if (amountTendered_ != null)
            {
                hash ^= AmountTendered.GetHashCode();
            }
            if (Type != 0)
            {
                hash ^= Type.GetHashCode();
            }
            return(hash);
        }