Exemplo n.º 1
0
 /// <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);
     }
 }
Exemplo n.º 2
0
 public Enumerator(urlCollection collection)
 {
     this.wrapped = ((System.Collections.CollectionBase)collection).GetEnumerator();
 }
Exemplo n.º 3
0
 /// <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);
 }