Exemplo n.º 1
0
        public static Task <IEnumerable <SearchIndex> > GetAllIndexesAsync(this ISearchIndexManager manager, Action <GetAllSearchIndexesOptions> configureOptions)
        {
            var options = new GetAllSearchIndexesOptions();

            configureOptions(options);

            return(manager.GetAllIndexesAsync(options));
        }
Exemplo n.º 2
0
 public static Task <IEnumerable <SearchIndex> > GetAllIndexesAsync(this ISearchIndexManager manager)
 {
     return(manager.GetAllIndexesAsync(GetAllSearchIndexesOptions.Default));
 }