private SectionInfo CreateSectionInfo(IConfigSystem system, string configPath, string sectionName, string sectionType)
{
var sectionInformation = new SectionInformation
{
Type = sectionType,
ConfigFilePath = configPath
};
sectionInformation.SetName(sectionName);
var sectionInfo = new SectionInfo(sectionName, sectionInformation)
{
StreamName = FileName,
ConfigHost = system.Host
};
return(sectionInfo);
}