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