示例#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
文件: Student.cs 项目: crypto-rsa/GEx
 /// <summary>
 /// The copy constructor
 /// </summary>
 /// <param name="source">A <see cref="Student"/> object to copy the data from</param>
 public Student( Student source )
 {
     _name = source._name;
     _class = source._class;
     _disabilityLevel = source._disabilityLevel;
 }