コード例 #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);
     }
 }
コード例 #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);
 }
コード例 #3
0
 public Enumerator(PropertyDeclarationCollection collection)
 {
     wrapped = ((System.Collections.CollectionBase)collection).GetEnumerator();
 }