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