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