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