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