private void SetLecturer(Lecturer theLecturer) { this.theLecturer = theLecturer; this.theLecturer.RegisterObserver(this); }
public Student(string studentName, Lecturer theLecturer) { SetStudentName(studentName); SetLecturer(theLecturer); }
private void SetLecturer(Lecturer theLecturer) { this.theLecturer = theLecturer; this.theLecturer.RegisterObserver(this); }
public Student(string studentName, Lecturer theLecturer) { SetStudentName(studentName); SetLecturer(theLecturer); }