Example #1
0
		/// <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);
			}
		}
Example #2
0
		/// <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);
		}
Example #3
0
			/// <summary>
			/// 
			/// </summary>
			/// <param name="collection"></param>
			public Enumerator(TopicNameCollection collection)
			{
				this.wrapped = ((System.Collections.CollectionBase)collection).GetEnumerator();
			}