コード例 #1
0
 public void MergeFrom(SubmitWork other)
 {
     if (other == null)
     {
         return;
     }
     if (other.pid_ != null)
     {
         if (pid_ == null)
         {
             pid_ = new global::ProtoActorDemo.Messages.PID();
         }
         Pid.MergeFrom(other.Pid);
     }
     if (other.Data != 0)
     {
         Data = other.Data;
     }
 }
コード例 #2
0
 public void MergeFrom(TakeOwnership other)
 {
     if (other == null)
     {
         return;
     }
     if (other.pid_ != null)
     {
         if (pid_ == null)
         {
             pid_ = new global::Proto.PID();
         }
         Pid.MergeFrom(other.Pid);
     }
     if (other.Name.Length != 0)
     {
         Name = other.Name;
     }
 }
コード例 #3
0
ファイル: Protos.g.cs プロジェクト: tdav/protoactor-dotnet
 public void MergeFrom(ActorPidResponse other)
 {
     if (other == null)
     {
         return;
     }
     if (other.pid_ != null)
     {
         if (pid_ == null)
         {
             pid_ = new global::Proto.PID();
         }
         Pid.MergeFrom(other.Pid);
     }
     if (other.StatusCode != 0)
     {
         StatusCode = other.StatusCode;
     }
 }