Esempio n. 1
0
 public IConfigurationSectionContents GetSection(string sectionName, Func <IEnumerable <string>, IEnumerable <string> > postProcessing)
 {
     return(new ConfigurationSectionContents(
                _fileWithSections.FilePath,
                sectionName,
                _fileWithSections.ReadSection(sectionName, postProcessing).ToReadOnlyCollection()));
 }
 public IEnumerable <string> GetSection(string name, Func <IEnumerable <string>, IEnumerable <string> > postProcessing)
 {
     return(_fileWithSections.ReadSection(name, postProcessing));
 }