コード例 #1
0
 public virtual grpc::AsyncUnaryCall <global::GrpcService.PostModel> GetPostInfoAsync(global::GrpcService.PostLookUpModel request, grpc::CallOptions options)
 {
     return(CallInvoker.AsyncUnaryCall(__Method_GetPostInfo, null, options, request));
 }
コード例 #2
0
 public virtual grpc::AsyncUnaryCall <global::GrpcService.PostModel> GetPostInfoAsync(global::GrpcService.PostLookUpModel request, grpc::Metadata headers = null, global::System.DateTime?deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken))
 {
     return(GetPostInfoAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken)));
 }
コード例 #3
0
 public virtual global::GrpcService.PostModel GetPostInfo(global::GrpcService.PostLookUpModel request, grpc::CallOptions options)
 {
     return(CallInvoker.BlockingUnaryCall(__Method_GetPostInfo, null, options, request));
 }
コード例 #4
0
 public virtual grpc::AsyncUnaryCall <global::GrpcService.PostActionReply> DeletePostAsync(global::GrpcService.PostLookUpModel request, grpc::CallOptions options)
 {
     return(CallInvoker.AsyncUnaryCall(__Method_DeletePost, null, options, request));
 }
コード例 #5
0
 public virtual global::GrpcService.PostActionReply DeletePost(global::GrpcService.PostLookUpModel request, grpc::Metadata headers = null, global::System.DateTime?deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken))
 {
     return(DeletePost(request, new grpc::CallOptions(headers, deadline, cancellationToken)));
 }
コード例 #6
0
ファイル: PostGrpc.cs プロジェクト: ccristiantugui/gRPCsiEF
 public virtual global::System.Threading.Tasks.Task <global::GrpcService.PostActionReply> DeletePost(global::GrpcService.PostLookUpModel request, grpc::ServerCallContext context)
 {
     throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, ""));
 }