public BasicSearchIndex(SearchPipeline searchPipeline, IDocumentationIndex documentationIndex, ILiveDocsOptions options, ILogger logger) { _SearchPipeline = searchPipeline; _DocumentationIndex = documentationIndex; _Options = options; _Logger = logger; }
public SearchPipeline Build() { SearchPipeline searchPipeline = new SearchPipeline(); foreach (var filter in filters) { searchPipeline.AddOrUpdateFilter(filter); } return(searchPipeline); }
/// <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; }