/// <summary> /// /// </summary> /// <param name="collection"></param> public Enumerator(CaseTestCollection collection) { this.wrapped = ((CollectionBase)collection).GetEnumerator(); }
/// <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(CaseTestCollection items) { foreach (CaseTest item in items) { this.List.Add(item); } }
public CaseExpression(ITagMapping tagMapping, ISQLExpression expressiontToEval, string column_alias) : base(tagMapping, String.Empty, String.Empty, column_alias) { _ExpressionToEval = expressiontToEval; _TestExpressions = new CaseTestCollection(); }
/// <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 CaseTestCollection(CaseTestCollection items) { this.AddRange(items); }