Inheritance: System.Collections.CollectionBase
Beispiel #1
0
 /// <summary>
 ///   Adds the contents of another <see cref='WhereTermCollection'/> to the end of the collection.
 /// </summary>
 /// <param name='val'>
 ///    A <see cref='WhereTermCollection'/> containing the objects to add to the collection.
 /// </param>
 /// <seealso cref='WhereTermCollection.Add'/>
 public void AddRange(WhereTermCollection val)
 {
     for (int i = 0; i < val.Count; i++)
     {
         Add(val[i]);
     }
 }
		/// <summary>
		///   Adds the contents of another <see cref='WhereTermCollection'/> to the end of the collection.
		/// </summary>
		/// <param name='val'>
		///    A <see cref='WhereTermCollection'/> containing the objects to add to the collection.
		/// </param>
		/// <seealso cref='WhereTermCollection.Add'/>
		public void AddRange(WhereTermCollection val)
		{
			for (int i = 0; i < val.Count; i++)
			{
				Add(val[i]);
			}
		}
		/// <summary>
		///   Initializes a new instance of <see cref='WhereTermCollection'/> based on another <see cref='WhereTermCollection'/>.
		/// </summary>
		/// <param name='val'>
		///   A <see cref='WhereTermCollection'/> from which the contents are copied
		/// </param>
		public WhereTermCollection(WhereTermCollection val)
		{
			AddRange(val);
		}
			/// <summary>
			///   Initializes a new instance of <see cref='WhereClauseEnumerator'/>.
			/// </summary>
			public WhereClauseEnumerator(WhereTermCollection mappings)
			{
				temp = ((IEnumerable) (mappings));
				baseEnumerator = temp.GetEnumerator();
			}
Beispiel #5
0
 /// <summary>
 ///   Initializes a new instance of <see cref='WhereTermCollection'/> based on another <see cref='WhereTermCollection'/>.
 /// </summary>
 /// <param name='val'>
 ///   A <see cref='WhereTermCollection'/> from which the contents are copied
 /// </param>
 public WhereTermCollection(WhereTermCollection val)
 {
     AddRange(val);
 }
Beispiel #6
0
 /// <summary>
 ///   Initializes a new instance of <see cref='WhereClauseEnumerator'/>.
 /// </summary>
 public WhereClauseEnumerator(WhereTermCollection mappings)
 {
     temp           = ((IEnumerable)(mappings));
     baseEnumerator = temp.GetEnumerator();
 }