Exemple #1
0
 public void MergeFrom(HistoryEvent other)
 {
     if (other == null)
     {
         return;
     }
     if (other.Description.Length != 0)
     {
         Description = other.Description;
     }
     if (other.Order != 0)
     {
         Order = other.Order;
     }
     if (other.staffMember_ != null)
     {
         if (staffMember_ == null)
         {
             staffMember_ = new global::HOLMS.Types.IAM.StaffMember();
         }
         StaffMember.MergeFrom(other.StaffMember);
     }
     if (other.timestamp_ != null)
     {
         if (timestamp_ == null)
         {
             timestamp_ = new global::Google.Protobuf.WellKnownTypes.Timestamp();
         }
         Timestamp.MergeFrom(other.Timestamp);
     }
     details_.Add(other.details_);
 }