Esempio n. 1
0
 public QuizQuestion(int quizQuestionID, Quiz quiz, string question, QuizAnswer correctAnswer, List <QuizAnswer> allAnswers)
 {
     this.quizQuestionID = quizQuestionID;
     this.quiz           = quiz;
     this.question       = question;
     this.correctAnswer  = correctAnswer;
     this.allAnswers     = allAnswers;
 }
Esempio n. 2
0
 public void setQuizAnswer(QuizAnswer correctAnswer)
 {
     this.correctAnswer = correctAnswer;
 }
 public void setAnswer(QuizAnswer answer)
 {
     this.answer = answer;
 }
 public QuizResultHistory(string userID, QuizQuestion question, QuizAnswer answer)
 {
     this.userID   = userID;
     this.question = question;
     this.answer   = answer;
 }