string ConvertSectionPropertyGroupType(ConfigDescription configDescription) { string sectionName = configDescription.SectionName; if (!PropertyGroupSectionTypes.ContainsKey(sectionName)) { throw new ArgumentException(String.Format( StringResources.Error_FabricValidator_InvalidSectionPropertyGroupType, configDescription.Type, sectionName)); } return(PropertyGroupSectionTypes[sectionName]); }
public static bool IsPropertyGroupSection(string section) { return(PropertyGroupSectionTypes.ContainsKey(section)); }