コード例 #1
0
ファイル: Draw.cs プロジェクト: MortenSaabye/netcore-grpc
        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
ファイル: Draw.cs プロジェクト: MortenSaabye/netcore-grpc
 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);
 }