/// <summary> /// Gets all the types that match the criteria in any of the assemblies /// listed in the array. /// </summary> public Type[] GetConfigSectionTypes(string className) { var retVal = new List<Type>(); foreach (var s in _assemblies) { var csf = new ConfigurationSectionFinder(s); var types = csf.GetConfigSectionTypes(className); retVal.AddRange(types); } return retVal.ToArray(); }
/// <summary> /// Gets all the types that match the criteria in any of the assemblies /// listed in the array. /// </summary> public Type[] GetConfigSectionTypes(string className) { var retVal = new List <Type>(); foreach (var s in _assemblies) { var csf = new ConfigurationSectionFinder(s); var types = csf.GetConfigSectionTypes(className); retVal.AddRange(types); } return(retVal.ToArray()); }