示例#1
0
 /// <summary>
 /// 
 /// </summary>
 /// <param name="collection"></param>
 public Enumerator(CaseTestCollection collection)
 {
     this.wrapped = ((CollectionBase)collection).GetEnumerator();
 }
示例#2
0
 /// <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);
     }
 }
示例#3
0
 public CaseExpression(ITagMapping tagMapping, ISQLExpression expressiontToEval, string column_alias) : base(tagMapping, String.Empty, String.Empty, column_alias)
 {
     _ExpressionToEval = expressiontToEval;
     _TestExpressions = new CaseTestCollection();
 }
示例#4
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 CaseTestCollection(CaseTestCollection items)
 {
     this.AddRange(items);
 }