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; }
public WhereExpressionScope(KeywordQueryCamlVisitor visitor) : this(visitor, visitor.currentOperater) { }