예제 #1
0
 /// <summary>
 /// Adds the elements of another GroupByTermCollection to the end of this GroupByTermCollection.
 /// </summary>
 /// <param name="items">
 /// The GroupByTermCollection whose elements are to be added to the end of this GroupByTermCollection.
 /// </param>
 public virtual void AddRange(GroupByTermCollection items)
 {
     foreach (GroupByTerm item in items)
     {
         List.Add(item);
     }
 }
예제 #2
0
 /// <summary>
 /// Initializes a new instance of the GroupByTermCollection class, containing elements
 /// copied from another instance of GroupByTermCollection
 /// </summary>
 /// <param name="items">
 /// The GroupByTermCollection whose elements are to be added to the new GroupByTermCollection.
 /// </param>
 public GroupByTermCollection(GroupByTermCollection items)
 {
     AddRange(items);
 }
예제 #3
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="collection"></param>
 public Enumerator(GroupByTermCollection collection)
 {
     wrapped = ((CollectionBase)collection).GetEnumerator();
 }