예제 #1
0
 public void MergeFrom(OpenTunnel other)
 {
     if (other == null)
     {
         return;
     }
     if (other.application_ != null)
     {
         if (application_ == null)
         {
             application_ = new global::System.Protobuf.guid();
         }
         Application.MergeFrom(other.Application);
     }
     if (other.boundedContext_ != null)
     {
         if (boundedContext_ == null)
         {
             boundedContext_ = new global::System.Protobuf.guid();
         }
         BoundedContext.MergeFrom(other.BoundedContext);
     }
     if (other.clientId_ != null)
     {
         if (clientId_ == null)
         {
             clientId_ = new global::System.Protobuf.guid();
         }
         ClientId.MergeFrom(other.ClientId);
     }
     offsets_.Add(other.offsets_);
     events_.Add(other.events_);
 }