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