A collection of elements of type AtomEntry
Inheritance: System.Collections.CollectionBase
コード例 #1
0
ファイル: Atom10.cs プロジェクト: vnextcoder/dasblog-core
 /// <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
ファイル: Atom10.cs プロジェクト: vnextcoder/dasblog-core
 public AtomRoot()
 {
     Namespaces   = new XmlSerializerNamespaces();
     entries      = new AtomEntryCollection();
     links        = new AtomLinkCollection();
     contributors = new AtomParticipantCollection();
 }
コード例 #3
0
ファイル: Atom10.cs プロジェクト: plntxt/dasblog
		public AtomRoot()
		{
			Namespaces = new XmlSerializerNamespaces();
			entries = new AtomEntryCollection();
			links = new AtomLinkCollection();
			contributors = new AtomParticipantCollection();
		}
コード例 #4
0
ファイル: Atom10.cs プロジェクト: vnextcoder/dasblog-core
 public Enumerator(AtomEntryCollection collection)
 {
     this.wrapped = ((System.Collections.CollectionBase)collection).GetEnumerator();
 }
コード例 #5
0
ファイル: Atom10.cs プロジェクト: vnextcoder/dasblog-core
 /// <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
ファイル: Atom10.cs プロジェクト: plntxt/dasblog
			public Enumerator(AtomEntryCollection collection)
			{
				this.wrapped = ((System.Collections.CollectionBase)collection).GetEnumerator();
			}
コード例 #7
0
ファイル: Atom10.cs プロジェクト: plntxt/dasblog
		/// <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
ファイル: Atom10.cs プロジェクト: plntxt/dasblog
		/// <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);
		}