public static Task <IEnumerable <SearchIndex> > GetAllIndexesAsync(this ISearchIndexManager manager, Action <GetAllSearchIndexesOptions> configureOptions) { var options = new GetAllSearchIndexesOptions(); configureOptions(options); return(manager.GetAllIndexesAsync(options)); }
public static Task <IEnumerable <SearchIndex> > GetAllIndexesAsync(this ISearchIndexManager manager) { return(manager.GetAllIndexesAsync(GetAllSearchIndexesOptions.Default)); }