示例#1
0
 public virtual grpc::AsyncUnaryCall <global::Dnc.GrpcService.Protocol.GetHolidaysRsp> GetHolidaysAsync(global::Dnc.GrpcService.Protocol.GetHolidaysReq request, grpc::CallOptions options)
 {
     return(CallInvoker.AsyncUnaryCall(__Method_GetHolidays, null, options, request));
 }
示例#2
0
 public virtual global::Dnc.GrpcService.Protocol.GetHolidaysRsp GetHolidays(global::Dnc.GrpcService.Protocol.GetHolidaysReq request, grpc::CallOptions options)
 {
     return(CallInvoker.BlockingUnaryCall(__Method_GetHolidays, null, options, request));
 }
示例#3
0
 public virtual grpc::AsyncUnaryCall <global::Dnc.GrpcService.Protocol.GetHolidaysRsp> GetHolidaysAsync(global::Dnc.GrpcService.Protocol.GetHolidaysReq request, grpc::Metadata headers = null, global::System.DateTime?deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken))
 {
     return(GetHolidaysAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken)));
 }
示例#4
0
 public virtual global::System.Threading.Tasks.Task <global::Dnc.GrpcService.Protocol.GetHolidaysRsp> GetHolidays(global::Dnc.GrpcService.Protocol.GetHolidaysReq request, grpc::ServerCallContext context)
 {
     throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, ""));
 }