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