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