internal ConfigurationSectionGroupCollection(MgmtConfigurationRecord configRecord, ConfigurationSectionGroup configSectionGroup) :
base(StringComparer.Ordinal) {
_configRecord = configRecord;
_configSectionGroup = configSectionGroup;
foreach (DictionaryEntry de in _configRecord.SectionGroupFactories) {
FactoryId factoryId = (FactoryId) de.Value;
if (factoryId.Group == _configSectionGroup.SectionGroupName) {
BaseAdd(factoryId.Name, factoryId.Name);
}
}
}