internal MetaDataConfigurationElementCollection GetApplicationElements() { var coll = new MetaDataConfigurationElementCollection(); IEnumerator <MetaDataConfigurationElement> enumerator = GetEnumerator(); while (enumerator.MoveNext()) { MetaDataConfigurationElement element = enumerator.Current; if (element != null) { coll.BaseAdd(element); } } return(coll); }
public MetaDataConfigurationElementCollection GetLocalized() { var coll = new MetaDataConfigurationElementCollection(); IEnumerator <MetaDataConfigurationElement> enumerator = GetEnumerator(); while (enumerator.MoveNext()) { MetaDataConfigurationElement element = enumerator.Current; if (element != null && element.Localized) { //if (element.ApplicationName.Equals(appName, StringComparison.OrdinalIgnoreCase)) coll.BaseAdd(element); } } return(coll); }