Exemple #1
0
 /// <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(RssItemCollection items)
 {
     foreach (RssItem item in items)
     {
         this.List.Add(item);
     }
 }
Exemple #2
0
 public Enumerator(RssItemCollection collection)
 {
     this.wrapped = ((System.Collections.CollectionBase)collection).GetEnumerator();
 }
Exemple #3
0
 /// <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 RssItemCollection(RssItemCollection items)
 {
     this.AddRange(items);
 }