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

            _baseEnumerator = temp.GetEnumerator();
        }
Пример #4
0
 /// <summary>
 /// Initializes a new instance of the <see cref="TarFileSetCollection"/> class
 /// with the specified <see cref="TarFileSetCollection"/> instance.
 /// </summary>
 public TarFileSetCollection(TarFileSetCollection value) {
     AddRange(value);
 }
Пример #5
0
 /// <summary>
 /// Initializes a new instance of the <see cref="TarFileSetEnumerator"/> class
 /// with the specified <see cref="TarFileSetCollection"/>.
 /// </summary>
 /// <param name="TarFileSets">The collection that should be enumerated.</param>
 internal TarFileSetEnumerator(TarFileSetCollection TarFileSets) {
     IEnumerable temp = (IEnumerable) (TarFileSets);
     _baseEnumerator = temp.GetEnumerator();
 }
Пример #6
0
 /// <summary>
 /// Adds the elements of a <see cref="TarFileSetCollection"/> to the end of the collection.
 /// </summary>
 /// <param name="items">The <see cref="TarFileSetCollection"/> to be added to the end of the collection.</param> 
 public void AddRange(TarFileSetCollection items) {
     for (int i = 0; (i < items.Count); i = (i + 1)) {
         Add(items[i]);
     }
 }