Ejemplo n.º 1
0
        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]);
        }
Ejemplo n.º 2
0
 public static bool IsPropertyGroupSection(string section)
 {
     return(PropertyGroupSectionTypes.ContainsKey(section));
 }