/// <summary> /// Initializes a new instance of the <see cref="BzipReader"/> class. /// </summary> /// <param name="path">The path to the .xml.bz2 dump of wikipedia</param> public BzipReader(string path, IDecodedAction action, PerfCounter counter) { filePath = path; _action = action; Counter = counter; multithreadedIndexing = (Environment.ProcessorCount > 1); abortDecoding = false; EnableYomi = false; EnableAutoLogging = false; }
public BzipReader(string path, IDecodedAction action) : this(path, action, new PerfCounter()) { }