/// <inheritdoc /> public Task <IRegisterPercolateResponse> RegisterPercolatorAsync(IRegisterPercolatorRequest registerPercolatorRequest) { return(this.DispatchAsync <IRegisterPercolatorRequest, IndexRequestParameters, RegisterPercolateResponse, IRegisterPercolateResponse>( registerPercolatorRequest, (p, d) => this.RawDispatch.IndexDispatchAsync <RegisterPercolateResponse>(p, d) )); }
/// <inheritdoc /> public IRegisterPercolateResponse RegisterPercolator(IRegisterPercolatorRequest registerPercolatorRequest) { return(this.Dispatch <IRegisterPercolatorRequest, IndexRequestParameters, RegisterPercolateResponse>( registerPercolatorRequest, (p, d) => this.RawDispatch.IndexDispatch <RegisterPercolateResponse>(p, d) )); }
/// <inheritdoc/> public Task <IRegisterPercolateResponse> RegisterPercolatorAsync(IRegisterPercolatorRequest request) => this.Dispatcher.DispatchAsync <IRegisterPercolatorRequest, IndexRequestParameters, RegisterPercolateResponse, IRegisterPercolateResponse>( request, this.LowLevelDispatch.IndexDispatchAsync <RegisterPercolateResponse> );
/// <inheritdoc/> public IRegisterPercolateResponse RegisterPercolator(IRegisterPercolatorRequest request) => this.Dispatcher.Dispatch <IRegisterPercolatorRequest, IndexRequestParameters, RegisterPercolateResponse>( request, this.LowLevelDispatch.IndexDispatch <RegisterPercolateResponse> );
public static void Update(ElasticsearchPathInfo <IndexRequestParameters> pathInfo, IRegisterPercolatorRequest request) { pathInfo.HttpMethod = PathInfoHttpMethod.POST; pathInfo.Index = pathInfo.Index; pathInfo.Id = pathInfo.Name; pathInfo.Type = ".percolator"; }
public Task <IRegisterPercolatorResponse> RegisterPercolatorAsync(IRegisterPercolatorRequest request, CancellationToken cancellationToken = default(CancellationToken)) => this.Dispatcher.DispatchAsync <IRegisterPercolatorRequest, IndexRequestParameters, RegisterPercolatorResponse, IRegisterPercolatorResponse>( request, cancellationToken, this.LowLevelDispatch.IndexDispatchAsync <RegisterPercolatorResponse> );