コード例 #1
0
 public GetScriptResponse GetScript(IGetScriptRequest request)
 {
     throw new NotImplementedException();
 }
コード例 #2
0
 public Task <GetScriptResponse> GetScriptAsync(IGetScriptRequest request, CancellationToken ct = new CancellationToken())
 {
     throw new NotImplementedException();
 }
コード例 #3
0
 /// <inheritdoc/>
 public Task <IGetScriptResponse> GetScriptAsync(IGetScriptRequest request, CancellationToken cancellationToken = default(CancellationToken)) =>
 this.Dispatcher.DispatchAsync <IGetScriptRequest, GetScriptRequestParameters, GetScriptResponse, IGetScriptResponse>(
     request,
     cancellationToken,
     (p, d, c) => this.LowLevelDispatch.GetScriptDispatchAsync <GetScriptResponse>(p, c)
     );
コード例 #4
0
 public static void Update(ElasticsearchPathInfo <GetScriptRequestParameters> pathInfo, IGetScriptRequest request)
 {
     pathInfo.Id         = request.Id;
     pathInfo.Lang       = request.Lang;
     pathInfo.HttpMethod = PathInfoHttpMethod.GET;
 }
コード例 #5
0
		/// <inheritdoc/>
		public Task<IGetScriptResponse> GetScriptAsync(IGetScriptRequest request) => 
			this.Dispatcher.DispatchAsync<IGetScriptRequest, GetScriptRequestParameters, GetScriptResponse, IGetScriptResponse>(
				request,
				(p, d) => this.LowLevelDispatch.GetScriptDispatchAsync<GetScriptResponse>(p)
			);
コード例 #6
0
 /// <inheritdoc/>
 public IGetScriptResponse GetScript(IGetScriptRequest request) =>
 this.Dispatcher.Dispatch <IGetScriptRequest, GetScriptRequestParameters, GetScriptResponse>(
     request,
     (p, d) => this.LowLevelDispatch.GetScriptDispatch <GetScriptResponse>(p)
     );
コード例 #7
0
		/// <inheritdoc/>
		public IGetScriptResponse GetScript(IGetScriptRequest request) => 
			this.Dispatcher.Dispatch<IGetScriptRequest, GetScriptRequestParameters, GetScriptResponse>(
				request,
				(p, d) => this.LowLevelDispatch.GetScriptDispatch<GetScriptResponse>(p)
			);
コード例 #8
0
 /// <inheritdoc/>
 public Task <IGetScriptResponse> GetScriptAsync(IGetScriptRequest request) =>
 this.Dispatcher.DispatchAsync <IGetScriptRequest, GetScriptRequestParameters, GetScriptResponse, IGetScriptResponse>(
     request,
     (p, d) => this.LowLevelDispatch.GetScriptDispatchAsync <GetScriptResponse>(p)
     );
コード例 #9
0
 /// <inheritdoc />
 public Task <GetScriptResponse> GetScriptAsync(IGetScriptRequest request, CancellationToken ct = default) =>
 DoRequestAsync <IGetScriptRequest, GetScriptResponse>(request, request.RequestParameters, ct);
コード例 #10
0
 /// <inheritdoc />
 public GetScriptResponse GetScript(IGetScriptRequest request) =>
 DoRequest <IGetScriptRequest, GetScriptResponse>(request, request.RequestParameters);
コード例 #11
0
		/// <inheritdoc/>
		public Task<IGetScriptResponse> GetScriptAsync(IGetScriptRequest request, CancellationToken cancellationToken = default(CancellationToken)) =>
			this.Dispatcher.DispatchAsync<IGetScriptRequest, GetScriptRequestParameters, GetScriptResponse, IGetScriptResponse>(
				request,
				cancellationToken,
				(p, d, c) => this.LowLevelDispatch.GetScriptDispatchAsync<GetScriptResponse>(p, c)
			);