public void AddRange(DefCollection <T> collection) { foreach (var p in collection._index) { _index[p.Key] = p.Value; } foreach (var p in collection._list) { _list.Add(p); } }
internal PropertyCollection(ElementDef <T> elementDef, XNamespace[] namespaces, DefCollection <IPropertyDef> properties) { _elementDef = elementDef; _namespaces = namespaces; _properties = properties; }