Example #1
0
 /// <summary>
 /// Asynchronously retrieves a filtered collection of all running search jobs.
 /// </summary>
 /// <remarks>
 /// This method uses the <a href="http://goo.gl/ja2Sev">GET search/jobs</a>
 /// endpoint to get the filtered collection of running search jobs.
 /// </remarks>
 /// <param name="criteria">
 /// The criteria.
 /// </param>
 /// <returns>
 /// The slice asynchronous.
 /// </returns>
 public virtual async Task GetSliceAsync(JobCollection.Filter criteria)
 {
     await this.GetSliceAsync(criteria.AsEnumerable()).ConfigureAwait(false);
 }
Example #2
0
 public Task GetSliceAsync(JobCollection.Filter criteria)
 {
     Contract.Requires <ArgumentNullException>(criteria != null);
     return(default(Task));
 }