예제 #1
0
파일: User.cs 프로젝트: bks1000/gRPCTest
 public void MergeFrom(RespGetOneUser other)
 {
     if (other == null)
     {
         return;
     }
     if (other.user_ != null)
     {
         if (user_ == null)
         {
             User = new global::GrpcServiceApp.User();
         }
         User.MergeFrom(other.User);
     }
     _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 }
예제 #2
0
파일: User.cs 프로젝트: bks1000/gRPCTest
        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 (user_ == null)
                    {
                        User = new global::GrpcServiceApp.User();
                    }
                    input.ReadMessage(User);
                    break;
                }
                }
            }
        }
예제 #3
0
 public virtual grpc::AsyncUnaryCall <global::GrpcServiceApp.SaveResult> DeleteAsync(global::GrpcServiceApp.User request, grpc::CallOptions options)
 {
     return(CallInvoker.AsyncUnaryCall(__Method_Delete, null, options, request));
 }
예제 #4
0
 public virtual grpc::AsyncUnaryCall <global::GrpcServiceApp.SaveResult> DeleteAsync(global::GrpcServiceApp.User request, grpc::Metadata headers = null, global::System.DateTime?deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken))
 {
     return(DeleteAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken)));
 }
예제 #5
0
 public virtual global::GrpcServiceApp.SaveResult Delete(global::GrpcServiceApp.User request, grpc::CallOptions options)
 {
     return(CallInvoker.BlockingUnaryCall(__Method_Delete, null, options, request));
 }
예제 #6
0
 public virtual global::System.Threading.Tasks.Task <global::GrpcServiceApp.SaveResult> Delete(global::GrpcServiceApp.User request, grpc::ServerCallContext context)
 {
     throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, ""));
 }