コード例 #1
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]);
     }
 }
コード例 #2
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);
 }
コード例 #3
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();
        }
コード例 #4
0
ファイル: TarFileSetCollection.cs プロジェクト: RoastBoy/nant
 /// <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
ファイル: TarFileSetCollection.cs プロジェクト: RoastBoy/nant
 /// <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
ファイル: TarFileSetCollection.cs プロジェクト: RoastBoy/nant
 /// <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]);
     }
 }