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