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