/// <inheritdoc />
 public Task <IDeleteAliasResponse> DeleteAliasAsync(IDeleteAliasRequest deleteAliasRequest)
 {
     return(this.DispatchAsync <IDeleteAliasRequest, DeleteAliasRequestParameters, DeleteAliasResponse, IDeleteAliasResponse>(
                deleteAliasRequest,
                (p, d) => this.RawDispatch.IndicesDeleteAliasDispatchAsync <DeleteAliasResponse>(p)
                ));
 }
 /// <inheritdoc />
 public IDeleteAliasResponse DeleteAlias(IDeleteAliasRequest deleteAliasRequest)
 {
     return(this.Dispatch <IDeleteAliasRequest, DeleteAliasRequestParameters, DeleteAliasResponse>(
                deleteAliasRequest,
                (p, d) => this.RawDispatch.IndicesDeleteAliasDispatch <DeleteAliasResponse>(p)
                ));
 }
Example #3
0
 /// <inheritdoc />
 public Task <IDeleteAliasResponse> DeleteAliasAsync(IDeleteAliasRequest request,
                                                     CancellationToken cancellationToken = default(CancellationToken)
                                                     ) =>
 Dispatcher.DispatchAsync <IDeleteAliasRequest, DeleteAliasRequestParameters, DeleteAliasResponse, IDeleteAliasResponse>(
     request,
     cancellationToken,
     (p, d, c) => LowLevelDispatch.IndicesDeleteAliasDispatchAsync <DeleteAliasResponse>(p, c)
     );
Example #4
0
 /// <inheritdoc />
 public IDeleteAliasResponse DeleteAlias(IDeleteAliasRequest request) =>
 Dispatcher.Dispatch <IDeleteAliasRequest, DeleteAliasRequestParameters, DeleteAliasResponse>(
     request,
     (p, d) => LowLevelDispatch.IndicesDeleteAliasDispatch <DeleteAliasResponse>(p)
     );
 /// <inheritdoc />
 public Task <DeleteAliasResponse> DeleteAliasAsync(IDeleteAliasRequest request, CancellationToken ct = default) =>
 DoRequestAsync <IDeleteAliasRequest, DeleteAliasResponse>(request, request.RequestParameters, ct);
 /// <inheritdoc />
 public DeleteAliasResponse DeleteAlias(IDeleteAliasRequest request) =>
 DoRequest <IDeleteAliasRequest, DeleteAliasResponse>(request, request.RequestParameters);
Example #7
0
 /// <inheritdoc/>
 public Task <IDeleteAliasResponse> DeleteAliasAsync(IDeleteAliasRequest request) =>
 this.Dispatcher.DispatchAsync <IDeleteAliasRequest, DeleteAliasRequestParameters, DeleteAliasResponse, IDeleteAliasResponse>(
     request,
     (p, d) => this.LowLevelDispatch.IndicesDeleteAliasDispatchAsync <DeleteAliasResponse>(p)
     );
 public static DeleteAliasResponse DeleteAlias(this IElasticClient client, IDeleteAliasRequest request)
 => client.Indices.DeleteAlias(request);
 public static Task <DeleteAliasResponse> DeleteAliasAsync(this IElasticClient client, IDeleteAliasRequest request,
                                                           CancellationToken ct = default
                                                           )
 => client.Indices.DeleteAliasAsync(request, ct);
		/// <inheritdoc/>
		public Task<IDeleteAliasResponse> DeleteAliasAsync(IDeleteAliasRequest request, CancellationToken cancellationToken = default(CancellationToken)) =>
			this.Dispatcher.DispatchAsync<IDeleteAliasRequest, DeleteAliasRequestParameters, DeleteAliasResponse, IDeleteAliasResponse>(
				request,
				cancellationToken,
				(p, d, c) => this.LowLevelDispatch.IndicesDeleteAliasDispatchAsync<DeleteAliasResponse>(p, c)
			);
		/// <inheritdoc/>
		public IDeleteAliasResponse DeleteAlias(IDeleteAliasRequest request) =>
			this.Dispatcher.Dispatch<IDeleteAliasRequest, DeleteAliasRequestParameters, DeleteAliasResponse>(
				request,
				(p, d) => this.LowLevelDispatch.IndicesDeleteAliasDispatch<DeleteAliasResponse>(p)
			);
		/// <inheritdoc/>
		public Task<IDeleteAliasResponse> DeleteAliasAsync(IDeleteAliasRequest request) => 
			this.Dispatcher.DispatchAsync<IDeleteAliasRequest, DeleteAliasRequestParameters, DeleteAliasResponse, IDeleteAliasResponse>(
				request,
				(p, d) => this.LowLevelDispatch.IndicesDeleteAliasDispatchAsync<DeleteAliasResponse>(p)
			);