public ValuePath(AttributePath attributePath, Expression valueFilter) { this.AttributePath = attributePath; this.ValueFilter = valueFilter; if (valueFilter is ValuePath || (valueFilter is GroupedExpression grouped && grouped.Expression is ValuePath) || (valueFilter is NegatedExpression negated && negated.Expression.Expression is ValuePath)) { throw new ValueFilterParsingException(); } }
public ComparisonExpression(AttributePath leftOperand, ComparisonOperator @operator, CompareValue rightOperand) { this.LeftOperand = leftOperand; this.Operator = @operator; this.RightOperand = rightOperand; }
public ComparisonExpression(AttributePath leftOperand, ComparisonOperator @operator) { this.LeftOperand = leftOperand; this.Operator = @operator; }
public Path(AttributePath attributePath) { this.AttributePath = attributePath; }