public AtomRoot() { Namespaces = new XmlSerializerNamespaces(); entries = new AtomEntryCollection(); links = new AtomLinkCollection(); contributors = new AtomParticipantCollection(); }
/// <summary> /// Adds the elements of another AtomLinkCollection to the end of this AtomLinkCollection. /// </summary> /// <param name="participants"> /// The AtomLinkCollection whose elements are to be added to the end of this AtomLinkCollection. /// </param> public virtual void AddRange(AtomLinkCollection participants) { foreach (AtomLink participant in participants) { this.List.Add(participant); } }
public Enumerator(AtomLinkCollection collection) { this.wrapped = ((System.Collections.CollectionBase)collection).GetEnumerator(); }
/// <summary> /// Initializes a new instance of the AtomLinkCollection class, containing elements /// copied from another instance of AtomLinkCollection /// </summary> /// <param name="participants"> /// The AtomLinkCollection whose elements are to be added to the new AtomLinkCollection. /// </param> public AtomLinkCollection(AtomLinkCollection participants) { this.AddRange(participants); }