A collection of elements of type RssChannel
Inheritance: System.Collections.CollectionBase
示例#1
0
 /// <summary>
 /// Adds the elements of another RssChannelCollection to the end of this RssChannelCollection.
 /// </summary>
 /// <param name="items">
 /// The RssChannelCollection whose elements are to be added to the end of this RssChannelCollection.
 /// </param>
 public virtual void AddRange(RssChannelCollection items)
 {
     foreach (RssChannel item in items)
     {
         this.List.Add(item);
     }
 }
示例#2
0
 public Enumerator(RssChannelCollection collection)
 {
     this.wrapped = ((System.Collections.CollectionBase)collection).GetEnumerator();
 }
示例#3
0
 /// <summary>
 /// Initializes a new instance of the RssChannelCollection class, containing elements
 /// copied from another instance of RssChannelCollection
 /// </summary>
 /// <param name="items">
 /// The RssChannelCollection whose elements are to be added to the new RssChannelCollection.
 /// </param>
 public RssChannelCollection(RssChannelCollection items)
 {
     this.AddRange(items);
 }
示例#4
0
 public RssRoot()
 {
     Namespaces = new XmlSerializerNamespaces();
     channels   = new RssChannelCollection();
     version    = "2.0";
 }
示例#5
0
文件: Rss.cs 项目: plntxt/dasblog
 public Enumerator(RssChannelCollection collection)
 {
     this.wrapped = ((System.Collections.CollectionBase)collection).GetEnumerator();
 }
示例#6
0
文件: Rss.cs 项目: plntxt/dasblog
 /// <summary>
 /// Adds the elements of another RssChannelCollection to the end of this RssChannelCollection.
 /// </summary>
 /// <param name="items">
 /// The RssChannelCollection whose elements are to be added to the end of this RssChannelCollection.
 /// </param>
 public virtual void AddRange(RssChannelCollection items)
 {
     foreach (RssChannel item in items)
     {
         this.List.Add(item);
     }
 }
示例#7
0
文件: Rss.cs 项目: plntxt/dasblog
 /// <summary>
 /// Initializes a new instance of the RssChannelCollection class, containing elements
 /// copied from another instance of RssChannelCollection
 /// </summary>
 /// <param name="items">
 /// The RssChannelCollection whose elements are to be added to the new RssChannelCollection.
 /// </param>
 public RssChannelCollection(RssChannelCollection items)
 {
     this.AddRange(items);
 }
示例#8
0
文件: Rss.cs 项目: plntxt/dasblog
 public RssRoot()
 {
     Namespaces = new XmlSerializerNamespaces();
     channels = new RssChannelCollection();
     version = "2.0";
 }