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