コード例 #1
0
 public void MergeFrom(Error other)
 {
     if (other == null)
     {
         return;
     }
     if (other.Code != 0)
     {
         Code = other.Code;
     }
 }
コード例 #2
0
        public void MergeFrom(pb::CodedInputStream input)
        {
            uint tag;

            while ((tag = input.ReadTag()) != 0)
            {
                switch (tag)
                {
                default:
                    input.SkipLastField();
                    break;

                case 8: {
                    code_ = (global::Pb.Error.Types.EType)input.ReadEnum();
                    break;
                }
                }
            }
        }