Asks questions without knowing how they are answered.
コード例 #1
0
ファイル: Program.cs プロジェクト: ursenzler/appccelerate
        /// <summary>
        /// Main method.
        /// </summary>
        /// <param name="args">The command line arguments.</param>
        public static void Main(string[] args)
        {
            var evaluationEngine = new EvaluationEngine();
            evaluationEngine.SetLogExtension(new ConsoleLogger());
            
            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)
        {
            var evaluationEngine = new EvaluationEngine();

            evaluationEngine.SetLogExtension(new ConsoleLogger());

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

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

            Console.ReadLine();
        }