public static Task AllowQueryingAsync(this ISearchIndexManager manager, string indexName, Action <AllowQueryingSearchIndexOptions> configureOptions) { var options = new AllowQueryingSearchIndexOptions(); configureOptions(options); return(manager.AllowQueryingAsync(indexName, options)); }
public static Task AllowQueryingAsync(this ISearchIndexManager manager, string indexName) { return(manager.AllowQueryingAsync(indexName, AllowQueryingSearchIndexOptions.Default)); }