Example #1
0
 public UnaryLogicalOperation(ComparationOperand <bool> operand, LogicalOperator op)
 {
     Operand  = operand;
     Operator = op;
     NodeType = FilterNodeType.UnaryLogicOp;
     operands.Add(operand);
 }
Example #2
0
 public CompareOperation(ComparationOperand <TValue> left, ComparationOperand <TValue> right, FilterComparison op = FilterComparison.Equal)
 {
     Left      = left;
     Right     = right;
     Operation = op;
     NodeType  = FilterNodeType.Compare;
     operands.Add(left);
     operands.Add(right);
 }
 public BinaryLogicalOperation(ComparationOperand <bool> left, ComparationOperand <bool> right, LogicalOperator op)
 {
     Left      = left;
     Right     = right;
     Operation = op;
     NodeType  = FilterNodeType.BinaryLogicOp;
     operands.Add(left);
     operands.Add(right);
 }
Example #4
0
 public UnaryComparison(ComparationOperand <bool> operand, LogicalOperator op)
 {
     Operand = operand;
     operands.Add(operand);
     Operation = op;
 }