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