/// <summary> /// <para> /// Adds the contents of another <see cref='NAntBuildTargetCollection'/> to the end of the collection. /// </para> /// </summary> /// <param name='val'> /// A <see cref='NAntBuildTargetCollection'/> containing the objects to add to the collection. /// </param> /// <returns> /// <para>None.</para> /// </returns> /// <seealso cref='NAntBuildTargetCollection.Add'/> public void AddRange(NAntBuildTargetCollection val) { for (int i = 0; i < val.Count; i++) { this.Add(val[i]); } }
/// <summary> /// <para> /// Initializes a new instance of <see cref='NAntBuildTargetCollection'/> based on another <see cref='NAntBuildTargetCollection'/>. /// </para> /// </summary> /// <param name='val'> /// A <see cref='NAntBuildTargetCollection'/> from which the contents are copied /// </param> public NAntBuildTargetCollection(NAntBuildTargetCollection val) { this.AddRange(val); }
public NAntBuildTargetEnumerator(NAntBuildTargetCollection mappings) { this.temp = ((IEnumerable)(mappings)); this.baseEnumerator = temp.GetEnumerator(); }