Exemple #1
0
 /// <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]);
     }
 }
Exemple #2
0
 /// <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);
 }
Exemple #3
0
 /// <summary>
 ///   Initializes a new instance of <see cref='JoinEnumerator'/>.
 /// </summary>
 public JoinEnumerator(JoinCollection mappings)
 {
     this.temp           = ((IEnumerable)(mappings));
     this.baseEnumerator = temp.GetEnumerator();
 }