Пример #1
0
 /// <summary>
 /// Retrieves the specified context.
 /// </summary>
 /// <param name="request">The request object containing all of the parameters for the API call.</param>
 /// <param name="callSettings">If not null, applies overrides to this RPC call.</param>
 /// <returns>A Task containing the RPC response.</returns>
 public override stt::Task <Context> GetContextAsync(GetContextRequest request, gaxgrpc::CallSettings callSettings = null)
 {
     Modify_GetContextRequest(ref request, ref callSettings);
     return(_callGetContext.Async(request, callSettings));
 }
Пример #2
0
 /// <summary>
 /// Retrieves the specified context.
 /// </summary>
 /// <param name="request">The request object containing all of the parameters for the API call.</param>
 /// <param name="callSettings">If not null, applies overrides to this RPC call.</param>
 /// <returns>The RPC response.</returns>
 public override Context GetContext(GetContextRequest request, gaxgrpc::CallSettings callSettings = null)
 {
     Modify_GetContextRequest(ref request, ref callSettings);
     return(_callGetContext.Sync(request, callSettings));
 }
Пример #3
0
 partial void Modify_GetContextRequest(ref GetContextRequest request, ref gaxgrpc::CallSettings settings);
Пример #4
0
 /// <summary>
 /// Retrieves the specified context.
 /// </summary>
 /// <param name="request">The request object containing all of the parameters for the API call.</param>
 /// <param name="cancellationToken">A <see cref="st::CancellationToken"/> to use for this RPC.</param>
 /// <returns>A Task containing the RPC response.</returns>
 public virtual stt::Task <Context> GetContextAsync(GetContextRequest request, st::CancellationToken cancellationToken) =>
 GetContextAsync(request, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken));
Пример #5
0
 /// <summary>
 /// Retrieves the specified context.
 /// </summary>
 /// <param name="request">The request object containing all of the parameters for the API call.</param>
 /// <param name="callSettings">If not null, applies overrides to this RPC call.</param>
 /// <returns>A Task containing the RPC response.</returns>
 public virtual stt::Task <Context> GetContextAsync(GetContextRequest request, gaxgrpc::CallSettings callSettings = null) =>
 throw new sys::NotImplementedException();
Пример #6
0
 /// <summary>
 /// Retrieves the specified context.
 /// </summary>
 /// <param name="request">The request object containing all of the parameters for the API call.</param>
 /// <param name="callSettings">If not null, applies overrides to this RPC call.</param>
 /// <returns>The RPC response.</returns>
 public virtual Context GetContext(GetContextRequest request, gaxgrpc::CallSettings callSettings = null) =>
 throw new sys::NotImplementedException();