コード例 #1
0
        public void Run()
        {
            SampleQuestions();

            Console.WriteLine();
            Console.WriteLine("Randomizing ... ");
            Console.WriteLine();

            var randomizer = new QuestionRandomizerService();
            randomizer.ShuffleAllQuestions(Program.QuestionRepository);

            SampleQuestions();
        }
コード例 #2
0
 private void RandomizeQuestions()
 {
     
     var randomizer = new QuestionRandomizerService();
     randomizer.ShuffleAllQuestions(ServiceLocator.Game.QuestionRepository);
 }