コード例 #1
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (JWToken.Length != 0)
            {
                hash ^= JWToken.GetHashCode();
            }
            if (reservation_ != null)
            {
                hash ^= Reservation.GetHashCode();
            }
            if (priceQuote_ != null)
            {
                hash ^= PriceQuote.GetHashCode();
            }
            if (reservationSummary_ != null)
            {
                hash ^= ReservationSummary.GetHashCode();
            }
            if (HasLastMinuteWaiver != false)
            {
                hash ^= HasLastMinuteWaiver.GetHashCode();
            }
            return(hash);
        }
        public override int GetHashCode()
        {
            int hash = 1;

            if (JWToken.Length != 0)
            {
                hash ^= JWToken.GetHashCode();
            }
            if (reservation_ != null)
            {
                hash ^= Reservation.GetHashCode();
            }
            if (ReservationHadGuaranteeTender != false)
            {
                hash ^= ReservationHadGuaranteeTender.GetHashCode();
            }
            if (reservationSummary_ != null)
            {
                hash ^= ReservationSummary.GetHashCode();
            }
            if (priceQuote_ != null)
            {
                hash ^= PriceQuote.GetHashCode();
            }
            return(hash);
        }