Exemplo n.º 1
0
 /// <inheritdoc cref="DeleteForecast(Nest.Id,Nest.ForecastIds,System.Func{Nest.DeleteForecastDescriptor,Nest.IDeleteForecastRequest})" />
 public Task <DeleteForecastResponse> DeleteForecastAsync(
     Id jobId,
     ForecastIds forecastId,
     Func <DeleteForecastDescriptor, IDeleteForecastRequest> selector = null,
     CancellationToken ct = default
     ) => DeleteForecastAsync(selector.InvokeOrDefault(new DeleteForecastDescriptor(jobId, forecastId)), ct);
Exemplo n.º 2
0
 /// <inheritdoc cref="DeleteForecast(Nest.Id,Nest.ForecastIds,System.Func{Nest.DeleteForecastDescriptor,Nest.IDeleteForecastRequest})" />
 public DeleteForecastResponse DeleteForecast(Id jobId, ForecastIds forecastId, Func <DeleteForecastDescriptor, IDeleteForecastRequest> selector = null) =>
 DeleteForecast(selector.InvokeOrDefault(new DeleteForecastDescriptor(jobId, forecastId)));