public BackgroundSearcher(DocumentHierarchySearcher documentHierarchySearcher) { this.DocumentHierarchySearcher = documentHierarchySearcher; this.StartTimestamp = DateTime.Now; this.DoWork += RunSearching; this.WorkerSupportsCancellation = true; }
public GoToDefinitionCommand(IseIntegrator iseIntegrator, PowershellTokenizerProvider powershellTokenizerProvider, DocumentHierarchyFactory documentHierarchyFactory, DocumentHierarchySearcher documentHierarchySearcher) { this.iseIntegrator = iseIntegrator; this.powershellTokenizerProvider = powershellTokenizerProvider; this.documentHierarchyFactory = documentHierarchyFactory; this.documentHierarchySearcher = documentHierarchySearcher; }
public BackgroundSearcherParams(DocumentHierarchySearcher documentHierarchySearcher, SearchOptions searchOptions, string path) { this.DocumentHierarchySearcher = documentHierarchySearcher; this.SearchOptions = new SearchOptions(searchOptions); this.Path = path; }