Пример #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)
     {
         this.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)
 {
     this.AddRange(items);
 }
Пример #3
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="collection"></param>
 public Enumerator(GroupByTermCollection collection)
 {
     this.wrapped = ((CollectionBase)collection).GetEnumerator();
 }