/// <summary> /// Adds the elements of another PropertyDeclarationCollection to the end of this PropertyDeclarationCollection. /// </summary> /// <param name="items"> /// The PropertyDeclarationCollection whose elements are to be added to the end of this PropertyDeclarationCollection. /// </param> public void AddRange(PropertyDeclarationCollection items) { foreach (PropertyDeclaration item in items) { List.Add(item); } }
/// <summary> /// Initializes a new instance of the PropertyDeclarationCollection class, containing elements /// copied from another instance of PropertyDeclarationCollection /// </summary> /// <param name="items"> /// The PropertyDeclarationCollection whose elements are to be added to the new PropertyDeclarationCollection. /// </param> public PropertyDeclarationCollection(PropertyDeclarationCollection items) { AddRange(items); }
public Enumerator(PropertyDeclarationCollection collection) { wrapped = ((System.Collections.CollectionBase)collection).GetEnumerator(); }