A collection of elements of type AtomLink
상속: System.Collections.CollectionBase
예제 #1
0
 public AtomRoot()
 {
     Namespaces   = new XmlSerializerNamespaces();
     entries      = new AtomEntryCollection();
     links        = new AtomLinkCollection();
     contributors = new AtomParticipantCollection();
 }
예제 #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);
     }
 }
예제 #3
0
파일: Atom10.cs 프로젝트: plntxt/dasblog
		public AtomRoot()
		{
			Namespaces = new XmlSerializerNamespaces();
			entries = new AtomEntryCollection();
			links = new AtomLinkCollection();
			contributors = new AtomParticipantCollection();
		}
예제 #4
0
 public Enumerator(AtomLinkCollection collection)
 {
     this.wrapped = ((System.Collections.CollectionBase)collection).GetEnumerator();
 }
예제 #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);
 }
예제 #6
0
파일: Atom10.cs 프로젝트: plntxt/dasblog
			public Enumerator(AtomLinkCollection collection)
			{
				this.wrapped = ((System.Collections.CollectionBase)collection).GetEnumerator();
			}
예제 #7
0
파일: Atom10.cs 프로젝트: plntxt/dasblog
		/// <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);
			}
		}
예제 #8
0
파일: Atom10.cs 프로젝트: plntxt/dasblog
		/// <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);
		}