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