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