/// <summary> /// Adds the elements of another SoqlExpressionCollection to the end of this SoqlExpressionCollection. /// </summary> /// <param name="items"> /// The SoqlExpressionCollection whose elements are to be added to the end of this SoqlExpressionCollection. /// </param> public virtual void AddRange(SoqlExpressionCollection items) { foreach (SoqlExpression item in items) { this.List.Add(item); } }
public SoqlBooleanExpression In(params Int32[] inExpressions) { SoqlExpressionCollection rhs = new SoqlExpressionCollection(); foreach (Int32 e in inExpressions) { rhs.Add(new SoqlLiteralExpression(e)); } return new SoqlBooleanInExpression(this, rhs); }
public SoqlBooleanExpression In(params SoqlInt32WrapperExpression[] inExpressions) { SoqlExpressionCollection rhs = new SoqlExpressionCollection(); foreach (SoqlInt32WrapperExpression e in inExpressions) { rhs.Add(e); } return new SoqlBooleanInExpression(this, rhs); }
public SoqlBooleanExpression In(params String[] inExpressions) { SoqlExpressionCollection rhs = new SoqlExpressionCollection(); foreach (String e in inExpressions) { rhs.Add(new SoqlLiteralExpression(e)); } return(new SoqlBooleanInExpression(this, rhs)); }
public SoqlBooleanExpression In(params SoqlStringWrapperExpression[] inExpressions) { SoqlExpressionCollection rhs = new SoqlExpressionCollection(); foreach (SoqlStringWrapperExpression e in inExpressions) { rhs.Add(e); } return(new SoqlBooleanInExpression(this, rhs)); }
/// <summary> /// Initializes a new instance of the SoqlExpressionCollection class, containing elements /// copied from another instance of SoqlExpressionCollection /// </summary> /// <param name="items"> /// The SoqlExpressionCollection whose elements are to be added to the new SoqlExpressionCollection. /// </param> public SoqlExpressionCollection(SoqlExpressionCollection items) { this.AddRange(items); }
public Enumerator(SoqlExpressionCollection collection) { this.wrapped = ((System.Collections.CollectionBase)collection).GetEnumerator(); }