Ejemplo n.º 1
0
 /// <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);
     }
 }
Ejemplo n.º 2
0
 public Enumerator(ChartBarCollection collection)
 {
     this.wrapped = ((System.Collections.CollectionBase)collection).GetEnumerator();
 }
Ejemplo n.º 3
0
 /// <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);
 }