示例#1
0
 public void MergeFrom(ReservationAssociatedParties other)
 {
     if (other == null)
     {
         return;
     }
     if (other.primaryGuest_ != null)
     {
         if (primaryGuest_ == null)
         {
             primaryGuest_ = new global::HOLMS.Types.CRM.Guests.GuestIndicator();
         }
         PrimaryGuest.MergeFrom(other.PrimaryGuest);
     }
     additionalGuests_.Add(other.additionalGuests_);
     contactPersons_.Add(other.contactPersons_);
     if (other.reservation_ != null)
     {
         if (reservation_ == null)
         {
             reservation_ = new global::HOLMS.Types.Booking.Indicators.ReservationIndicator();
         }
         Reservation.MergeFrom(other.Reservation);
     }
 }