Esempio n. 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(IAChannelCollection items)
 {
     foreach (IAChannel item in items)
     {
         this.List.Add(item);
     }
 }
Esempio n. 2
0
 public Enumerator(IAChannelCollection collection)
 {
     this.wrapped = ((System.Collections.CollectionBase)collection).GetEnumerator();
 }
Esempio n. 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 IAChannelCollection(IAChannelCollection items)
 {
     this.AddRange(items);
 }
Esempio n. 4
0
 public IARoot()
 {
     Namespaces = new XmlSerializerNamespaces();
     channels   = new IAChannelCollection();
     version    = "2.0";
 }