示例#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)
 {
 }