/// <summary> /// Adds the elements of a <see cref="CategoryCollection"/> to the end of the collection. /// </summary> /// <param name="items">The <see cref="CategoryCollection"/> to be added to the end of the collection.</param> public void AddRange(CategoryCollection items) { for (int i = 0; (i < items.Count); i = (i + 1)) { Add(items[i]); } }
/// <summary> /// Initializes a new instance of the <see cref="CategoryCollection"/> class /// with the specified <see cref="CategoryCollection"/> instance. /// </summary> public CategoryCollection(CategoryCollection value) { AddRange(value); }
/// <summary> /// Initializes a new instance of the <see cref="CategoryEnumerator"/> class /// with the specified <see cref="CategoryCollection"/>. /// </summary> /// <param name="arguments">The collection that should be enumerated.</param> internal CategoryEnumerator(CategoryCollection arguments) { IEnumerable temp = (IEnumerable)(arguments); _baseEnumerator = temp.GetEnumerator(); }
/// <summary> /// Initializes a new instance of the <see cref="CategoryEnumerator"/> class /// with the specified <see cref="CategoryCollection"/>. /// </summary> /// <param name="arguments">The collection that should be enumerated.</param> internal CategoryEnumerator(CategoryCollection arguments) { IEnumerable temp = (IEnumerable) (arguments); _baseEnumerator = temp.GetEnumerator(); }
/// <summary> /// Initializes a new instance of the <see cref="CategoryCollection"/> class /// with the specified <see cref="CategoryCollection"/> instance. /// </summary> /// <param name='value'> /// The collection to use to initialize the new instance with. /// </param> public CategoryCollection(CategoryCollection value) : base(value) { }