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