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

            configureOptions(options);

            return(manager.GetIndexAsync(indexName, options));
        }
コード例 #2
0
 public static Task <SearchIndex> GetIndexAsync(this ISearchIndexManager manager, string indexName)
 {
     return(manager.GetIndexAsync(indexName, GetSearchIndexOptions.Default));
 }