A collection of elements of type NavigatorItem
Inheritance: System.Collections.CollectionBase
Exemplo 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);
     }
 }
Exemplo n.º 2
0
 public Enumerator(NavigatorItemCollection collection)
 {
     this.wrapped = ((System.Collections.CollectionBase)collection).GetEnumerator();
 }
Exemplo n.º 3
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);
     }
 }
Exemplo n.º 4
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);
 }
Exemplo n.º 5
0
 public Enumerator(NavigatorItemCollection collection)
 {
     this.wrapped = ((System.Collections.CollectionBase)collection).GetEnumerator();
 }
Exemplo n.º 6
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);
 }