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

            if (primaryGuest_ != null)
            {
                hash ^= PrimaryGuest.GetHashCode();
            }
            hash ^= additionalGuests_.GetHashCode();
            hash ^= contactPersons_.GetHashCode();
            if (reservation_ != null)
            {
                hash ^= Reservation.GetHashCode();
            }
            return(hash);
        }