A collection of elements of type NavigatorItem
Наследование: System.Collections.CollectionBase
Пример #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);
     }
 }
Пример #2
0
 public Enumerator(NavigatorItemCollection collection)
 {
     this.wrapped = ((System.Collections.CollectionBase)collection).GetEnumerator();
 }
Пример #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);
     }
 }
Пример #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);
 }
Пример #5
0
 public Enumerator(NavigatorItemCollection collection)
 {
     this.wrapped = ((System.Collections.CollectionBase)collection).GetEnumerator();
 }
Пример #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);
 }