コード例 #1
0
        public static Task DisallowQueryingAsync(this ISearchIndexManager manager, string indexName, Action <DisallowQueryingSearchIndexOptions> configureOptions)
        {
            var options = new DisallowQueryingSearchIndexOptions();

            configureOptions(options);

            return(manager.DisallowQueryingAsync(indexName, options));
        }
コード例 #2
0
 public static Task DisallowQueryingAsync(this ISearchIndexManager manager, string indexName)
 {
     return(manager.DisallowQueryingAsync(indexName, DisallowQueryingSearchIndexOptions.Default));
 }