A collection of elements of type AtomLink
Inheritance: System.Collections.CollectionBase
Exemplo n.º 1
0
 public AtomRoot()
 {
     Namespaces   = new XmlSerializerNamespaces();
     entries      = new AtomEntryCollection();
     links        = new AtomLinkCollection();
     contributors = new AtomParticipantCollection();
 }
Exemplo n.º 2
0
 /// <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);
     }
 }
Exemplo n.º 3
0
		public AtomRoot()
		{
			Namespaces = new XmlSerializerNamespaces();
			entries = new AtomEntryCollection();
			links = new AtomLinkCollection();
			contributors = new AtomParticipantCollection();
		}
Exemplo n.º 4
0
 public Enumerator(AtomLinkCollection collection)
 {
     this.wrapped = ((System.Collections.CollectionBase)collection).GetEnumerator();
 }
Exemplo n.º 5
0
 /// <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);
 }
Exemplo n.º 6
0
			public Enumerator(AtomLinkCollection collection)
			{
				this.wrapped = ((System.Collections.CollectionBase)collection).GetEnumerator();
			}
Exemplo n.º 7
0
		/// <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);
			}
		}
Exemplo n.º 8
0
		/// <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);
		}