A collection of elements of type AtomEntry
Наследование: System.Collections.CollectionBase
Пример #1
0
 /// <summary>
 /// Adds the elements of another AtomEntryCollection to the end of this AtomEntryCollection.
 /// </summary>
 /// <param name="entries">
 /// The AtomEntryCollection whose elements are to be added to the end of this AtomEntryCollection.
 /// </param>
 public virtual void AddRange(AtomEntryCollection entries)
 {
     foreach (AtomEntry entry in entries)
     {
         this.List.Add(entry);
     }
 }
Пример #2
0
 public AtomRoot()
 {
     Namespaces   = new XmlSerializerNamespaces();
     entries      = new AtomEntryCollection();
     links        = new AtomLinkCollection();
     contributors = new AtomParticipantCollection();
 }
Пример #3
0
		public AtomRoot()
		{
			Namespaces = new XmlSerializerNamespaces();
			entries = new AtomEntryCollection();
			links = new AtomLinkCollection();
			contributors = new AtomParticipantCollection();
		}
Пример #4
0
 public Enumerator(AtomEntryCollection collection)
 {
     this.wrapped = ((System.Collections.CollectionBase)collection).GetEnumerator();
 }
Пример #5
0
 /// <summary>
 /// Initializes a new instance of the AtomEntryCollection class, containing elements
 /// copied from another instance of AtomEntryCollection
 /// </summary>
 /// <param name="entries">
 /// The AtomEntryCollection whose elements are to be added to the new AtomEntryCollection.
 /// </param>
 public AtomEntryCollection(AtomEntryCollection entries)
 {
     this.AddRange(entries);
 }
Пример #6
0
			public Enumerator(AtomEntryCollection collection)
			{
				this.wrapped = ((System.Collections.CollectionBase)collection).GetEnumerator();
			}
Пример #7
0
		/// <summary>
		/// Adds the elements of another AtomEntryCollection to the end of this AtomEntryCollection.
		/// </summary>
		/// <param name="entries">
		/// The AtomEntryCollection whose elements are to be added to the end of this AtomEntryCollection.
		/// </param>
		public virtual void AddRange(AtomEntryCollection entries)
		{
			foreach (AtomEntry entry in entries)
			{
				this.List.Add(entry);
			}
		}
Пример #8
0
		/// <summary>
		/// Initializes a new instance of the AtomEntryCollection class, containing elements
		/// copied from another instance of AtomEntryCollection
		/// </summary>
		/// <param name="entries">
		/// The AtomEntryCollection whose elements are to be added to the new AtomEntryCollection.
		/// </param>
		public AtomEntryCollection(AtomEntryCollection entries)
		{
			this.AddRange(entries);
		}