Пример #1
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (drawPoint_ != null)
            {
                hash ^= DrawPoint.GetHashCode();
            }
            if (Id != 0L)
            {
                hash ^= Id.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
Пример #2
0
 public void MergeFrom(DrawPointRequest other)
 {
     if (other == null)
     {
         return;
     }
     if (other.drawPoint_ != null)
     {
         if (drawPoint_ == null)
         {
             DrawPoint = new global::gRPCServer.DrawPoint();
         }
         DrawPoint.MergeFrom(other.DrawPoint);
     }
     if (other.Id != 0L)
     {
         Id = other.Id;
     }
     _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 }