public TextFilesProcessor(IStringParser stringParser, IContainerBrowser directoryRecursiveBrowser, IContainerBrowser fileLinesBrowser) { Data = new ConcurrentBag<UnnormalizedLocation>(); _stringParser = stringParser; _directoryRecursiveBrowser = directoryRecursiveBrowser; _fileLinesBrowser = fileLinesBrowser; }
internal virtual IEnumerable<string> GetFiles(string path, IContainerBrowser directoryRecursiveBrowser, IBrowserFilter filter = null) { return directoryRecursiveBrowser.Browse(path, filter); }
public TextFilesProcessor(IStringParser stringParser, IContainerBrowser directoryRecursiveBrowser, IContainerBrowser fileLinesBrowser, IBrowserFilter directoryRecursiveBrowserFilter = null, IBrowserFilter fileLinesBrowserFilter = null) : this(stringParser, directoryRecursiveBrowser, fileLinesBrowser, directoryRecursiveBrowserFilter) { _fileLinesBrowserFilter = fileLinesBrowserFilter; }