Exemple #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;
 }
Exemple #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;
 }
Exemple #3
0
 /// <summary>
 /// The copy constructor
 /// </summary>
 /// <param name="source">A <see cref="Class"/> instance to copy the data from</param>
 public Class( Class source )
 {
     _name = source._name;
     _headTeacher = source._headTeacher;
     _viceHeadTeacher = source._viceHeadTeacher;
     _chairmanName = source._chairmanName;
     _viceChairman = source._viceChairman;
     _viceViceChairman = source._viceViceChairman;
 }
Exemple #4
0
 /// <summary>
 /// The copy constructor
 /// </summary>
 /// <param name="source">A <see cref="Teacher"/> instance to copy the data from</param>
 public Teacher( Teacher source )
 {
     _name = source._name;
 }