Exemple #1
0
        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;
 }
Exemple #4
0
 public Path(AttributePath attributePath)
 {
     this.AttributePath = attributePath;
 }