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