Пример #1
0
 public void MergeFrom(SnapshotMessage other)
 {
     if (other == null)
     {
         return;
     }
     if (other.PersistenceId.Length != 0)
     {
         PersistenceId = other.PersistenceId;
     }
     if (other.SequenceNr != 0L)
     {
         SequenceNr = other.SequenceNr;
     }
     if (other.timeStamp_ != null)
     {
         if (timeStamp_ == null)
         {
             timeStamp_ = new global::Google.Protobuf.WellKnownTypes.Timestamp();
         }
         TimeStamp.MergeFrom(other.TimeStamp);
     }
     if (other.payload_ != null)
     {
         if (payload_ == null)
         {
             payload_ = new global::Akka.Persistence.Serialization.Proto.Msg.PersistentPayload();
         }
         Payload.MergeFrom(other.Payload);
     }
 }