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