/// <summary> /// Adds a unary logical operation to the formula. /// </summary> /// <param name="logicalOperator">The logical operator.</param> public void AddUnaryLogicalOperation(WFSUnaryLogicalOperator logicalOperator) { switch (logicalOperator) { case WFSUnaryLogicalOperator.Not: Formula = new UnaryLogicalOperation(Formula, WFSUnaryLogicalOperator.Not); break; } }
/// <summary> /// Initializes a new instance of the <see cref="UnaryLogicalOperation"/> class. /// </summary> /// <param name="operand">The operand.</param> /// <param name="operationType">The operation type.</param> public UnaryLogicalOperation(FormulaOperation operand, WFSUnaryLogicalOperator operationType) { Operand = operand; OperationType = operationType; }