예제 #1
0
        public void CreateAllQuestionResponseFiles()
        {
            Response[] responses = ReadResponses().ToArray();
            CreateResponsesFile(responses);
            ExportResponses(responses);

            Question[] questions = ReadQuestions().ToArray();
            CreateQuestionsFile(questions);

            QuestionResponses.DeleteUnmodifiedQuestionResponseFiles(_directory);
            CreateQuestionResponseFiles(QuestionResponses.GetQuestionResponses(questions, responses));
        }
예제 #2
0
        public void CreateAllQuestionResponseFiles_v2()
        {
            // Response_v2[]
            IEnumerable <Response_v2> responses = ReadResponses_v2();

            CreateResponsesFile_v2(responses);
            ExportResponses_v2(responses);

            // Question_v2[]
            IEnumerable <Question_v2> questions = ReadQuestions_v2();

            CreateQuestionsFile_v2(questions);

            QuestionResponses.DeleteUnmodifiedQuestionResponseFiles(_directory);
            CreateQuestionResponseFiles_v2(QuestionResponses.GetQuestionResponses_v2(questions, responses));
        }