コード例 #1
0
 public Task <IPutPipelineResponse> PutPipelineAsync(IPutPipelineRequest request,
                                                     CancellationToken cancellationToken = default(CancellationToken)
                                                     ) =>
 Dispatcher.DispatchAsync <IPutPipelineRequest, PutPipelineRequestParameters, PutPipelineResponse, IPutPipelineResponse>(
     request,
     cancellationToken,
     LowLevelDispatch.IngestPutPipelineDispatchAsync <PutPipelineResponse>
     );
コード例 #2
0
 public Task <PutPipelineResponse> PutPipelineAsync(IPutPipelineRequest request, CancellationToken ct = default) =>
 DoRequestAsync <IPutPipelineRequest, PutPipelineResponse>(request, request.RequestParameters, ct);
コード例 #3
0
 public PutPipelineResponse PutPipeline(IPutPipelineRequest request) =>
 DoRequest <IPutPipelineRequest, PutPipelineResponse>(request, request.RequestParameters);
コード例 #4
0
 public Task <IPutPipelineResponse> PutPipelineAsync(IPutPipelineRequest request) =>
 this.Dispatcher.DispatchAsync <IPutPipelineRequest, PutPipelineRequestParameters, PutPipelineResponse, IPutPipelineResponse>(
     request,
     this.LowLevelDispatch.IngestPutPipelineDispatchAsync <PutPipelineResponse>
     );
コード例 #5
0
 public IPutPipelineResponse PutPipeline(IPutPipelineRequest request) =>
 this.Dispatcher.Dispatch <IPutPipelineRequest, PutPipelineRequestParameters, PutPipelineResponse>(
     request,
     this.LowLevelDispatch.IngestPutPipelineDispatch <PutPipelineResponse>
     );
コード例 #6
0
		public Task<IPutPipelineResponse> PutPipelineAsync(IPutPipelineRequest request) =>
			this.Dispatcher.DispatchAsync<IPutPipelineRequest, PutPipelineRequestParameters, PutPipelineResponse, IPutPipelineResponse>(
				request,
				this.LowLevelDispatch.IngestPutPipelineDispatchAsync<PutPipelineResponse>
			);
コード例 #7
0
		public IPutPipelineResponse PutPipeline(IPutPipelineRequest request) =>
			this.Dispatcher.Dispatch<IPutPipelineRequest, PutPipelineRequestParameters, PutPipelineResponse>(
				request,
				this.LowLevelDispatch.IngestPutPipelineDispatch<PutPipelineResponse>
			);
コード例 #8
0
		public Task<IPutPipelineResponse> PutPipelineAsync(IPutPipelineRequest request, CancellationToken cancellationToken = default(CancellationToken)) =>
			this.Dispatcher.DispatchAsync<IPutPipelineRequest, PutPipelineRequestParameters, PutPipelineResponse, IPutPipelineResponse>(
				request,
				cancellationToken,
				this.LowLevelDispatch.IngestPutPipelineDispatchAsync<PutPipelineResponse>
			);
コード例 #9
0
 public static Task <PutPipelineResponse> PutPipelineAsync(this IElasticClient client, IPutPipelineRequest request,
                                                           CancellationToken ct = default
                                                           )
 => client.Ingest.PutPipelineAsync(request, ct);
コード例 #10
0
 public static PutPipelineResponse PutPipeline(this IElasticClient client, IPutPipelineRequest request)
 => client.Ingest.PutPipeline(request);