Exemplo n.º 1
0
 /// <summary>
 /// Asynchronously retrieves a collection of indexes.
 /// </summary>
 /// <param name="args">
 /// Specification of the collection of indexes to retrieve.
 /// </param>
 /// <returns>
 /// An object representing the collection of indexes retrieved.
 /// </returns>
 /// <remarks>
 /// This method uses the <a href="http://goo.gl/qVZ6wJ">GET
 /// data/indexes</a> endpoint to construct the <see cref=
 /// "IndexCollection"/> object it returns.
 /// </remarks>
 public async Task<IndexCollection> GetIndexesAsync(IndexCollectionArgs args = null)
 {
     var collection = new IndexCollection(this.Context, this.Namespace);
     await collection.GetAsync();
     return collection;
 }