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