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