Пример #1
0
        public static Task <IEnumerable <SearchIndex> > GetAllIndexesAsync(this ISearchIndexManager manager, Action <GetAllSearchIndexesOptions> configureOptions)
        {
            var options = new GetAllSearchIndexesOptions();

            configureOptions(options);

            return(manager.GetAllIndexesAsync(options));
        }
Пример #2
0
 public static Task <IEnumerable <SearchIndex> > GetAllIndexesAsync(this ISearchIndexManager manager)
 {
     return(manager.GetAllIndexesAsync(GetAllSearchIndexesOptions.Default));
 }