///<inheritdoc/>
 public ITermVectorsResponse TermVectors <T>(ITermVectorsRequest <T> request) where T : class
 {
     return(this.Dispatcher.Dispatch <ITermVectorsRequest <T>, TermVectorsRequestParameters, TermVectorsResponse>(
                request,
                this.LowLevelDispatch.TermvectorsDispatch <TermVectorsResponse>
                ));
 }
Ejemplo n.º 2
0
 /// <inheritdoc />
 public Task <ITermVectorsResponse> TermVectorsAsync <T>(ITermVectorsRequest <T> request,
                                                         CancellationToken cancellationToken = default(CancellationToken)
                                                         ) where T : class =>
 Dispatcher.DispatchAsync <ITermVectorsRequest <T>, TermVectorsRequestParameters, TermVectorsResponse, ITermVectorsResponse>(
     request,
     cancellationToken,
     LowLevelDispatch.TermvectorsDispatchAsync <TermVectorsResponse, T>
     );
 public Task <TermVectorsResponse> TermVectorsAsync <TDocument>(ITermVectorsRequest <TDocument> request, CancellationToken ct = new CancellationToken()) where TDocument : class
 {
     throw new NotImplementedException();
 }
 public TermVectorsResponse TermVectors <TDocument>(ITermVectorsRequest <TDocument> request) where TDocument : class
 {
     throw new NotImplementedException();
 }
Ejemplo n.º 5
0
 /// <inheritdoc />
 public ITermVectorsResponse TermVectors <T>(ITermVectorsRequest <T> request) where T : class =>
 Dispatcher.Dispatch <ITermVectorsRequest <T>, TermVectorsRequestParameters, TermVectorsResponse>(
     request,
     LowLevelDispatch.TermvectorsDispatch <TermVectorsResponse, T>
     );
 ///<inheritdoc/>
 public Task <ITermVectorsResponse> TermVectorsAsync <T>(ITermVectorsRequest <T> request) where T : class =>
 this.Dispatcher.DispatchAsync <ITermVectorsRequest <T>, TermVectorsRequestParameters, TermVectorsResponse, ITermVectorsResponse>(
     request,
     this.LowLevelDispatch.TermvectorsDispatchAsync <TermVectorsResponse>
     );
Ejemplo n.º 7
0
 /// <inheritdoc />
 public Task <TermVectorsResponse> TermVectorsAsync <T>(ITermVectorsRequest <T> request, CancellationToken ct = default)
     where T : class =>
 DoRequestAsync <ITermVectorsRequest <T>, TermVectorsResponse>(request, request.RequestParameters, ct);
Ejemplo n.º 8
0
 /// <inheritdoc />
 public TermVectorsResponse TermVectors <T>(ITermVectorsRequest <T> request) where T : class =>
 DoRequest <ITermVectorsRequest <T>, TermVectorsResponse>(request, request.RequestParameters);