private ConstructorInfo CreateSectionGroupFactory(FactoryRecord factoryRecord) {
Type type;
if (String.IsNullOrEmpty(factoryRecord.FactoryTypeName)) {
type = typeof(ConfigurationSectionGroup);
}
else {
type = TypeUtil.GetTypeWithReflectionPermission(Host, factoryRecord.FactoryTypeName, true);
}
ConstructorInfo ctor = TypeUtil.GetConstructorWithReflectionPermission(type, typeof(ConfigurationSectionGroup), true);
return ctor;
}