コード例 #1
0
 public void MergeFrom(Request other)
 {
     if (other == null)
     {
         return;
     }
     if (other.c2S_ != null)
     {
         if (c2S_ == null)
         {
             C2S = new global::QotGetOrderDetail.C2S();
         }
         C2S.MergeFrom(other.C2S);
     }
     _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 }
コード例 #2
0
        public void MergeFrom(pb::CodedInputStream input)
        {
            uint tag;

            while ((tag = input.ReadTag()) != 0)
            {
                switch (tag)
                {
                default:
                    _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
                    break;

                case 10: {
                    if (c2S_ == null)
                    {
                        C2S = new global::QotGetOrderDetail.C2S();
                    }
                    input.ReadMessage(C2S);
                    break;
                }
                }
            }
        }