/// <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); } }
public Enumerator(RsdApiCollection collection) { this.wrapped = ((System.Collections.CollectionBase)collection).GetEnumerator(); }
/// <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); }