コード例 #1
0
 public BasicSearchIndex(SearchPipeline searchPipeline, IDocumentationIndex documentationIndex, ILiveDocsOptions options, ILogger logger)
 {
     _SearchPipeline     = searchPipeline;
     _DocumentationIndex = documentationIndex;
     _Options            = options;
     _Logger             = logger;
 }
コード例 #2
0
        public SearchPipeline Build()
        {
            SearchPipeline searchPipeline = new SearchPipeline();

            foreach (var filter in filters)
            {
                searchPipeline.AddOrUpdateFilter(filter);
            }
            return(searchPipeline);
        }
コード例 #3
0
 /// <summary>
 /// For setup post-deserialization
 /// </summary>
 /// <param name="searchPipeline"></param>
 /// <param name="documentationIndex"></param>
 public void Setup(SearchPipeline searchPipeline, IDocumentationIndex documentationIndex, ILiveDocsOptions options)
 {
     _SearchPipeline     = searchPipeline;
     _DocumentationIndex = documentationIndex;
     _Options            = options;
 }