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