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