Пример #1
0
 /// <summary>
 /// Adds the elements of another ConstructorDeclarationCollection to the end of this ConstructorDeclarationCollection.
 /// </summary>
 /// <param name="items">
 /// The ConstructorDeclarationCollection whose elements are to be added to the end of this ConstructorDeclarationCollection.
 /// </param>
 public virtual void AddRange(ConstructorDeclarationCollection items)
 {
     foreach (ConstructorDeclaration item in items)
     {
         this.List.Add(item);
     }
 }
		/// <summary>
		/// Adds the elements of another ConstructorDeclarationCollection to the end of this ConstructorDeclarationCollection.
		/// </summary>
		/// <param name="items">
		/// The ConstructorDeclarationCollection whose elements are to be added to the end of this ConstructorDeclarationCollection.
		/// </param>
		public virtual void AddRange(ConstructorDeclarationCollection items)
		{
			foreach (ConstructorDeclaration item in items)
			{
				this.List.Add(item);
			}
		}
Пример #3
0
 /// <summary>
 /// Initializes a new instance of the ConstructorDeclarationCollection class, containing elements
 /// copied from another instance of ConstructorDeclarationCollection
 /// </summary>
 /// <param name="items">
 /// The ConstructorDeclarationCollection whose elements are to be added to the new ConstructorDeclarationCollection.
 /// </param>
 public ConstructorDeclarationCollection(ConstructorDeclarationCollection items)
 {
     this.AddRange(items);
 }
Пример #4
0
 public Enumerator(ConstructorDeclarationCollection collection)
 {
     this.wrapped = ((System.Collections.CollectionBase)collection).GetEnumerator();
 }
 /// <summary>
 /// Initializes a new instance of the ConstructorDeclarationCollection class, containing elements
 /// copied from another instance of ConstructorDeclarationCollection
 /// </summary>
 /// <param name="items">
 /// The ConstructorDeclarationCollection whose elements are to be added to the new ConstructorDeclarationCollection.
 /// </param>
 public ConstructorDeclarationCollection(ConstructorDeclarationCollection items)
 {
     this.AddRange(items);
 }
 public Enumerator(ConstructorDeclarationCollection collection)
 {
     this.wrapped = ((System.Collections.CollectionBase)collection).GetEnumerator();
 }