Пример #1
0
        /// <summary>
        /// Handle execution to convert <see cref="expression"/>
        /// into a valid boolean expression via <see cref="truthTable"/>
        /// methods and dependencies.
        /// </summary>
        private void handleExecution()
        {
            cs.Clear();

            displayTitle();

            if (!truthTable.handleExpression(expression))
            {
                handleCalculator();
                return;
            }

            log.info("\n");
            log.info("Press any key to continue...");
            cs.ReadKey(true);
            cs.Clear();

            handleCalculator();
        }