コード例 #1
0
        public void Initialize()
        {
            var TestDic = new Dictionary <string, bool>();

            TestDic.Add("TestAnswerTrue", true);
            TestDic.Add("TestAnswerFalse", false);

            TestObject = new QuizDataJson();
            TestObject.AddQuestion("TestQuestion1");
            TestObject.AddAnswers(TestDic);
        }
コード例 #2
0
 public void AddPage(Dictionary <string, bool> answers, string question)
 {
     Data.AddAnswers(answers);
     Data.AddQuestion(question);
 }