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