/// <summary>
 /// Adds the elements of another ExpressionCollection to the end of this ExpressionCollection.
 /// </summary>
 /// <param name="items">
 /// The ExpressionCollection whose elements are to be added to the end of this ExpressionCollection.
 /// </param>
 public virtual void AddRange(ExpressionCollection items)
 {
     foreach (Expression item in items)
     {
         this.List.Add(item);
     }
 }
		/// <summary>
		/// Adds the elements of another ExpressionCollection to the end of this ExpressionCollection.
		/// </summary>
		/// <param name="items">
		/// The ExpressionCollection whose elements are to be added to the end of this ExpressionCollection.
		/// </param>
		public virtual void AddRange(ExpressionCollection items)
		{
			foreach (Expression item in items)
			{
				this.List.Add(item);
			}
		}
Пример #3
0
 /// <summary>
 /// Initializes a new instance of the ExpressionCollection class, containing elements
 /// copied from another instance of ExpressionCollection
 /// </summary>
 /// <param name="items">
 /// The ExpressionCollection whose elements are to be added to the new ExpressionCollection.
 /// </param>
 public ExpressionCollection(ExpressionCollection items)
 {
     this.AddRange(items);
 }
Пример #4
0
 public Enumerator(ExpressionCollection collection)
 {
     this.wrapped = ((System.Collections.CollectionBase)collection).GetEnumerator();
 }
 /// <summary>
 /// Initializes a new instance of the ExpressionCollection class, containing elements
 /// copied from another instance of ExpressionCollection
 /// </summary>
 /// <param name="items">
 /// The ExpressionCollection whose elements are to be added to the new ExpressionCollection.
 /// </param>
 public ExpressionCollection(ExpressionCollection items)
 {
     this.AddRange(items);
 }
 public Enumerator(ExpressionCollection collection)
 {
     this.wrapped = ((System.Collections.CollectionBase)collection).GetEnumerator();
 }