public static string OperatorToString(this BlockOrLogicOperator oper) { switch (oper) { case BlockOrLogicOperator.OpenParenthesis: return("("); case BlockOrLogicOperator.ClosedParenthesis: return(")"); case BlockOrLogicOperator.And: return("AND"); case BlockOrLogicOperator.Or: return("OR"); default: return("UNKNOWNOPERATOR"); } }
public ConditionExpression(BlockOrLogicOperator blockOrLogicOperator) { Type = ConditionExpressionType.BlockOrLogicOperator; BlockOrLogicOperator = blockOrLogicOperator; }