コード例 #1
0
 /// <summary>
 ///  Gets a video from the catalog
 /// </summary>
 public virtual AsyncUnaryCall <global::KillrVideo.VideoCatalog.GetVideoResponse> GetVideoAsync(global::KillrVideo.VideoCatalog.GetVideoRequest request, CallOptions options)
 {
     return(CallInvoker.AsyncUnaryCall(__Method_GetVideo, null, options, request));
 }
コード例 #2
0
 /// <summary>
 ///  Gets a video from the catalog
 /// </summary>
 public virtual global::KillrVideo.VideoCatalog.GetVideoResponse GetVideo(global::KillrVideo.VideoCatalog.GetVideoRequest request, CallOptions options)
 {
     return(CallInvoker.BlockingUnaryCall(__Method_GetVideo, null, options, request));
 }
コード例 #3
0
 /// <summary>
 ///  Gets a video from the catalog
 /// </summary>
 public virtual AsyncUnaryCall <global::KillrVideo.VideoCatalog.GetVideoResponse> GetVideoAsync(global::KillrVideo.VideoCatalog.GetVideoRequest request, Metadata headers = null, DateTime?deadline = null, CancellationToken cancellationToken = default(CancellationToken))
 {
     return(GetVideoAsync(request, new CallOptions(headers, deadline, cancellationToken)));
 }
コード例 #4
0
 /// <summary>
 ///  Gets a video from the catalog
 /// </summary>
 public virtual global::System.Threading.Tasks.Task <global::KillrVideo.VideoCatalog.GetVideoResponse> GetVideo(global::KillrVideo.VideoCatalog.GetVideoRequest request, ServerCallContext context)
 {
     throw new RpcException(new Status(StatusCode.Unimplemented, ""));
 }