Beispiel #1
0
 /// <summary>
 /// Static method which constructs the instance
 /// </summary>
 /// <returns></returns>
 public static AnswerData GetAnswerData()
 {
     if(answerData == null)
     {
         answerData = new AnswerData();
     }
     return answerData;
 }
 /// <summary>
 /// Constructor which initializes the local variables
 /// </summary>
 public QuestionParser()
 {
     answerData = AnswerData.GetAnswerData();
     questionData = QuestionData.GetQuestionData();
     valueData = ValueData.GetValueData();
 }