A collection of elements of type AtomParticipant
Inheritance: System.Collections.CollectionBase
コード例 #1
0
ファイル: Atom10.cs プロジェクト: vnextcoder/dasblog-core
 public AtomRoot()
 {
     Namespaces   = new XmlSerializerNamespaces();
     entries      = new AtomEntryCollection();
     links        = new AtomLinkCollection();
     contributors = new AtomParticipantCollection();
 }
コード例 #2
0
ファイル: Atom10.cs プロジェクト: vnextcoder/dasblog-core
 /// <summary>
 /// Adds the elements of another AtomParticipantCollection to the end of this AtomParticipantCollection.
 /// </summary>
 /// <param name="participants">
 /// The AtomParticipantCollection whose elements are to be added to the end of this AtomParticipantCollection.
 /// </param>
 public virtual void AddRange(AtomParticipantCollection participants)
 {
     foreach (AtomParticipant participant in participants)
     {
         this.List.Add(participant);
     }
 }
コード例 #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(AtomParticipantCollection collection)
 {
     this.wrapped = ((System.Collections.CollectionBase)collection).GetEnumerator();
 }
コード例 #5
0
ファイル: Atom10.cs プロジェクト: vnextcoder/dasblog-core
 /// <summary>
 /// Initializes a new instance of the AtomParticipantCollection class, containing elements
 /// copied from another instance of AtomParticipantCollection
 /// </summary>
 /// <param name="participants">
 /// The AtomParticipantCollection whose elements are to be added to the new AtomParticipantCollection.
 /// </param>
 public AtomParticipantCollection(AtomParticipantCollection participants)
 {
     this.AddRange(participants);
 }
コード例 #6
0
ファイル: Atom10.cs プロジェクト: plntxt/dasblog
			public Enumerator(AtomParticipantCollection collection)
			{
				this.wrapped = ((System.Collections.CollectionBase)collection).GetEnumerator();
			}
コード例 #7
0
ファイル: Atom10.cs プロジェクト: plntxt/dasblog
		/// <summary>
		/// Adds the elements of another AtomParticipantCollection to the end of this AtomParticipantCollection.
		/// </summary>
		/// <param name="participants">
		/// The AtomParticipantCollection whose elements are to be added to the end of this AtomParticipantCollection.
		/// </param>
		public virtual void AddRange(AtomParticipantCollection participants)
		{
			foreach (AtomParticipant participant in participants)
			{
				this.List.Add(participant);
			}
		}
コード例 #8
0
ファイル: Atom10.cs プロジェクト: plntxt/dasblog
		/// <summary>
		/// Initializes a new instance of the AtomParticipantCollection class, containing elements
		/// copied from another instance of AtomParticipantCollection
		/// </summary>
		/// <param name="participants">
		/// The AtomParticipantCollection whose elements are to be added to the new AtomParticipantCollection.
		/// </param>
		public AtomParticipantCollection(AtomParticipantCollection participants)
		{
			this.AddRange(participants);
		}