public SectionParser(FileReader reader) { _reader = reader; EnsureFileBeginsWithSection(); InitSections(); }
public Parser(string filePath) { _reader = new FileReader(filePath); _sections = new SectionParser(_reader).Sections; }