public static Task <IEnumerable <QueryIndex> > GetAllIndexesAsync(this IQueryIndexManager queryIndexManager, string bucketName, Action <GetAllQueryIndexOptions> configureOptions)
        {
            var options = new GetAllQueryIndexOptions();

            configureOptions(options);

            return(queryIndexManager.GetAllIndexesAsync(bucketName, options));
        }
 public static Task <IEnumerable <QueryIndex> > GetAllIndexesAsync(this IQueryIndexManager queryIndexManager, string bucketName)
 {
     return(queryIndexManager.GetAllIndexesAsync(bucketName, GetAllQueryIndexOptions.Default));
 }