/// <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]);
     }
 }