Inheritance: System.Collections.CollectionBase
Ejemplo n.º 1
0
 /// <summary>
 /// Adds the elements of another OrderByTermCollection to the end of this OrderByTermCollection.
 /// </summary>
 /// <param name="items">
 /// The OrderByTermCollection whose elements are to be added to the end of this OrderByTermCollection.
 /// </param>
 public virtual void AddRange(OrderByTermCollection items)
 {
     foreach (OrderByTerm item in items)
     {
         List.Add(item);
     }
 }
		/// <summary>
		/// Adds the elements of another OrderByTermCollection to the end of this OrderByTermCollection.
		/// </summary>
		/// <param name="items">
		/// The OrderByTermCollection whose elements are to be added to the end of this OrderByTermCollection.
		/// </param>
		public virtual void AddRange(OrderByTermCollection items)
		{
			foreach (OrderByTerm item in items)
			{
				List.Add(item);
			}
		}
Ejemplo n.º 3
0
 /// <summary>
 /// Initializes a new instance of the OrderByTermCollection class, containing elements
 /// copied from another instance of OrderByTermCollection
 /// </summary>
 /// <param name="items">
 /// The OrderByTermCollection whose elements are to be added to the new OrderByTermCollection.
 /// </param>
 public OrderByTermCollection(OrderByTermCollection items)
 {
     AddRange(items);
 }
Ejemplo n.º 4
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="collection"></param>
 public Enumerator(OrderByTermCollection collection)
 {
     wrapped = ((System.Collections.CollectionBase)collection).GetEnumerator();
 }
		/// <summary>
		/// Initializes a new instance of the OrderByTermCollection class, containing elements
		/// copied from another instance of OrderByTermCollection
		/// </summary>
		/// <param name="items">
		/// The OrderByTermCollection whose elements are to be added to the new OrderByTermCollection.
		/// </param>
		public OrderByTermCollection(OrderByTermCollection items)
		{
			AddRange(items);
		}
			/// <summary>
			/// 
			/// </summary>
			/// <param name="collection"></param>
			public Enumerator(OrderByTermCollection collection)
			{
				wrapped = ((System.Collections.CollectionBase) collection).GetEnumerator();
			}