A collection of elements of type AtomContent
상속: System.Collections.CollectionBase
예제 #1
0
 /// <summary>
 /// Adds the elements of another AtomContentCollection to the end of this AtomContentCollection.
 /// </summary>
 /// <param name="content">
 /// The AtomContentCollection whose elements are to be added to the end of this AtomContentCollection.
 /// </param>
 public virtual void AddRange(AtomContentCollection content)
 {
     foreach (AtomContent contentEntry in content)
     {
         this.List.Add(contentEntry);
     }
 }
예제 #2
0
 public Enumerator(AtomContentCollection collection)
 {
     this.wrapped = ((System.Collections.CollectionBase)collection).GetEnumerator();
 }
예제 #3
0
 /// <summary>
 /// Initializes a new instance of the AtomContentCollection class, containing elements
 /// copied from another instance of AtomContentCollection
 /// </summary>
 /// <param name="content">
 /// The AtomContentCollection whose elements are to be added to the new AtomContentCollection.
 /// </param>
 public AtomContentCollection(AtomContentCollection content)
 {
     this.AddRange(content);
 }
예제 #4
0
파일: Atom10.cs 프로젝트: plntxt/dasblog
			public Enumerator(AtomContentCollection collection)
			{
				this.wrapped = ((System.Collections.CollectionBase)collection).GetEnumerator();
			}
예제 #5
0
파일: Atom10.cs 프로젝트: plntxt/dasblog
		/// <summary>
		/// Adds the elements of another AtomContentCollection to the end of this AtomContentCollection.
		/// </summary>
		/// <param name="content">
		/// The AtomContentCollection whose elements are to be added to the end of this AtomContentCollection.
		/// </param>
		public virtual void AddRange(AtomContentCollection content)
		{
			foreach (AtomContent contentEntry in content)
			{
				this.List.Add(contentEntry);
			}
		}
예제 #6
0
파일: Atom10.cs 프로젝트: plntxt/dasblog
		/// <summary>
		/// Initializes a new instance of the AtomContentCollection class, containing elements
		/// copied from another instance of AtomContentCollection
		/// </summary>
		/// <param name="content">
		/// The AtomContentCollection whose elements are to be added to the new AtomContentCollection.
		/// </param>
		public AtomContentCollection(AtomContentCollection content)
		{
			this.AddRange(content);
		}