Esempio n. 1
0
        public static Task AllowQueryingAsync(this ISearchIndexManager manager, string indexName, Action <AllowQueryingSearchIndexOptions> configureOptions)
        {
            var options = new AllowQueryingSearchIndexOptions();

            configureOptions(options);

            return(manager.AllowQueryingAsync(indexName, options));
        }
Esempio n. 2
0
 public static Task AllowQueryingAsync(this ISearchIndexManager manager, string indexName)
 {
     return(manager.AllowQueryingAsync(indexName, AllowQueryingSearchIndexOptions.Default));
 }