Пример #1
0
 public WhereExpressionScope(KeywordQueryCamlVisitor visitor, CamlLogicalOperator currentOperator)
 {
     if (!visitor.whereExpressionScope)
     {
         visitor.whereExpressionScope = true;
         this.query        = visitor.query;
         this.queryBuilder = visitor.queryBuilder;
     }
     this.previousOperator   = visitor.currentOperater;
     this.visitor            = visitor;
     visitor.currentOperater = currentOperator == CamlLogicalOperator.Not ? previousOperator : currentOperator;
 }
Пример #2
0
 public WhereExpressionScope(KeywordQueryCamlVisitor visitor)
     : this(visitor, visitor.currentOperater)
 {
 }