private ArrayList GetDescendentSectionGroupFactories(string configKey) {
ArrayList sectionGroups = new ArrayList();
string configKeyAncestor;
if (configKey.Length == 0) {
configKeyAncestor = string.Empty;
}
else {
configKeyAncestor = configKey + "/";
}
foreach (FactoryId factoryId in SectionGroupFactories.Values) {
if (factoryId.ConfigKey == configKey || StringUtil.StartsWith(factoryId.ConfigKey, configKeyAncestor)) {
sectionGroups.Add(factoryId);
}
}
return sectionGroups;
}