コード例 #1
0
ファイル: LibraryCollection.cs プロジェクト: skolima/NAnt-new
 /// <summary>
 /// Adds the elements of a <see cref="LibraryCollection"/> to the end of the collection.
 /// </summary>
 /// <param name="items">The <see cref="LibraryCollection"/> to be added to the end of the collection.</param>
 public void AddRange(LibraryCollection items)
 {
     for (int i = 0; (i < items.Count); i = (i + 1))
     {
         Add(items[i]);
     }
 }
コード例 #2
0
ファイル: LibraryCollection.cs プロジェクト: RoastBoy/nant
 /// <summary>
 /// Adds the elements of a <see cref="LibraryCollection"/> to the end of the collection.
 /// </summary>
 /// <param name="items">The <see cref="LibraryCollection"/> to be added to the end of the collection.</param> 
 public void AddRange(LibraryCollection items) {
     for (int i = 0; (i < items.Count); i = (i + 1)) {
         Add(items[i]);
     }
 }
コード例 #3
0
ファイル: LibraryCollection.cs プロジェクト: RoastBoy/nant
 /// <summary>
 /// Initializes a new instance of the <see cref="LibraryCollection"/> class
 /// with the specified <see cref="LibraryCollection"/> instance.
 /// </summary>
 public LibraryCollection(LibraryCollection value) {
     AddRange(value);
 }
コード例 #4
0
ファイル: LibraryCollection.cs プロジェクト: RoastBoy/nant
 /// <summary>
 /// Initializes a new instance of the <see cref="LibraryEnumerator"/> class
 /// with the specified <see cref="LibraryCollection"/>.
 /// </summary>
 /// <param name="arguments">The collection that should be enumerated.</param>
 internal LibraryEnumerator(LibraryCollection arguments) {
     IEnumerable temp = (IEnumerable) (arguments);
     _baseEnumerator = temp.GetEnumerator();
 }
コード例 #5
0
ファイル: LibraryCollection.cs プロジェクト: skolima/NAnt-new
 /// <summary>
 /// Initializes a new instance of the <see cref="LibraryCollection"/> class
 /// with the specified <see cref="LibraryCollection"/> instance.
 /// </summary>
 public LibraryCollection(LibraryCollection value)
 {
     AddRange(value);
 }
コード例 #6
0
ファイル: LibraryCollection.cs プロジェクト: skolima/NAnt-new
        /// <summary>
        /// Initializes a new instance of the <see cref="LibraryEnumerator"/> class
        /// with the specified <see cref="LibraryCollection"/>.
        /// </summary>
        /// <param name="arguments">The collection that should be enumerated.</param>
        internal LibraryEnumerator(LibraryCollection arguments)
        {
            IEnumerable temp = (IEnumerable)(arguments);

            _baseEnumerator = temp.GetEnumerator();
        }