Exemplo n.º 1
0
 public void Update(
     string newName,
     ExamType examType,
     int incorrectEliminationRate,
     DateTime examDate,
     string applicableFormTypeCode,
     AnswerFormFormat newAnswerFormFormat,
     Lesson lesson,
     ExamBookletType examBookletType,
     string newNotes)
 {
     Name                     = newName;
     AnswerFormFormat         = newAnswerFormFormat;
     ExamType                 = examType;
     IncorrectEliminationRate = incorrectEliminationRate;
     ExamDate                 = examDate;
     ApplicableFormTypeCode   = applicableFormTypeCode;
     Notes                    = newNotes;
     Lesson                   = lesson;
     ExamBookletType          = examBookletType;
 }
Exemplo n.º 2
0
 public Exam(
     Name name,
     DateTime examDate,
     ExamType examType,
     ExamBookletType examBookletType,
     IncorrectEliminationRate incorrectEliminationRate,
     AnswerFormFormat answerFormFormat,
     Lesson lesson,
     string applicableFormTypeCode,
     string notes)
     : this()
 {
     AnswerFormFormat         = answerFormFormat;
     ExamBookletType          = examBookletType;
     Name                     = name;
     ExamDate                 = examDate;
     ExamType                 = examType;
     IncorrectEliminationRate = incorrectEliminationRate;
     Notes                    = notes;
     ApplicableFormTypeCode   = applicableFormTypeCode;
     Lesson                   = lesson;
 }