/// <summary> /// Adds the elements of another AtomCategoryCollection to the end of this AtomCategoryCollection. /// </summary> /// <param name="entries"> /// The AtomCategoryCollection whose elements are to be added to the end of this AtomCategoryCollection. /// </param> public virtual void AddRange(AtomCategoryCollection entries) { foreach (AtomCategory entry in entries) { this.List.Add(entry); } }
public Enumerator(AtomCategoryCollection collection) { this.wrapped = ((System.Collections.CollectionBase)collection).GetEnumerator(); }
/// <summary> /// Initializes a new instance of the AtomCategoryCollection class, containing elements /// copied from another instance of AtomCategoryCollection /// </summary> /// <param name="entries"> /// The AtomCategoryCollection whose elements are to be added to the new AtomCategoryCollection. /// </param> public AtomCategoryCollection(AtomCategoryCollection entries) { this.AddRange(entries); }