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

            if (JWToken.Length != 0)
            {
                hash ^= JWToken.GetHashCode();
            }
            if (opsdate_ != null)
            {
                hash ^= Opsdate.GetHashCode();
            }
            if (pretaxLodgingCharge_ != null)
            {
                hash ^= PretaxLodgingCharge.GetHashCode();
            }
            if (roomTypeId_ != null)
            {
                hash ^= RoomTypeId.GetHashCode();
            }
            if (guestId_ != null)
            {
                hash ^= GuestId.GetHashCode();
            }
            if (reservationId_ != null)
            {
                hash ^= ReservationId.GetHashCode();
            }
            return(hash);
        }
Exemple #2
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (opsdate_ != null)
            {
                hash ^= Opsdate.GetHashCode();
            }
            if (pretaxLodgingCharge_ != null)
            {
                hash ^= PretaxLodgingCharge.GetHashCode();
            }
            hash ^= taxEstimates_.GetHashCode();
            return(hash);
        }