示例#1
0
        /// <summary>
        /// Main method.
        /// </summary>
        /// <param name="args">The command line arguments.</param>
        public static void Main(string[] args)
        {
            ConfigureLog4Net();

            var evaluationEngine = new EvaluationEngine();
            evaluationEngine.SetLogExtension(new Extensions.Log4NetExtension());

            var questioner = new Questioner(evaluationEngine);
            var answerer = new Answerer(evaluationEngine);

            answerer.PrepareAnswers();
            questioner.Ask();

            Console.ReadLine();
        }
示例#2
0
        /// <summary>
        /// Main method.
        /// </summary>
        /// <param name="args">The command line arguments.</param>
        public static void Main(string[] args)
        {
            ConfigureLog4Net();

            var evaluationEngine = new EvaluationEngine();

            evaluationEngine.SetLogExtension(new Extensions.Log4NetExtension());

            var questioner = new Questioner(evaluationEngine);
            var answerer   = new Answerer(evaluationEngine);

            answerer.PrepareAnswers();
            questioner.Ask();

            Console.ReadLine();
        }