示例#1
0
文件: Exam.cs 项目: crypto-rsa/GEx
 /// <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;
 }
示例#2
0
文件: Exam.cs 项目: crypto-rsa/GEx
 /// <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;
 }
示例#3
0
文件: Class.cs 项目: crypto-rsa/GEx
 /// <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;
 }
示例#4
0
文件: Teacher.cs 项目: crypto-rsa/GEx
 /// <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;
 }