Beispiel #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 void AddRange(PropertyDeclarationCollection items)
 {
     foreach (PropertyDeclaration item in items)
     {
         List.Add(item);
     }
 }
Beispiel #2
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)
 {
     AddRange(items);
 }
Beispiel #3
0
 public Enumerator(PropertyDeclarationCollection collection)
 {
     wrapped = ((System.Collections.CollectionBase)collection).GetEnumerator();
 }