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