Example #1
0
 /// <summary>
 /// The copy constructor
 /// </summary>
 /// <param name="source">A <see cref="Exam"/> instance to copy the data from</param>
 public Exam( Exam source )
 {
     _student = source._student;
     _subject = source._subject;
     _examiner = source._examiner;
     _assistant = source._assistant;
 }
Example #2
0
 /// <summary>
 /// Constructs a new exam
 /// </summary>
 /// <param name="student">The student being examined</param>
 /// <param name="subject">The subject being examined</param>
 /// <param name="examiner">The teacher examining the student</param>
 /// <param name="assistant">The assistant teacher</param>
 public Exam( Student student, Subject subject, Teacher examiner, Teacher assistant )
 {
     _student = student;
     _subject = subject;
     _examiner = examiner;
     _assistant = assistant;
 }
Example #3
0
 /// <summary>
 /// The copy constructor
 /// </summary>
 /// <param name="source">A <see cref="Subject"/> instance to copy the data from</param>
 public Subject( Subject source )
 {
     _name = source._name;
     _category = source._category;
 }