/// <summary> /// The constructor of Lesson object with a set of properties. /// </summary> /// <param name="lecturer">The name of the Lecturer</param> /// <param name="module">The name of the Module</param> /// <param name="room">The name/number of the Room</param> public Lesson(Lecturer lecturer, Module module, Room room) { this.lecturer = lecturer; this.module = module; this.room = room; }
/// <summary> /// The parameters received will be used for assigning the Module for this Lesson. /// </summary> /// <param name="module">Module details</param> public void setModule(Module module) { this.module = module; }
/// <summary> /// The constructor of Lesson object with a set of properties. /// </summary> /// <param name="lecturer">The name of the Lecturer</param> /// <param name="module">The name of the Module</param> /// <param name="room">The name/number of the Room</param> public Lesson(Lecturer lecturer, Module module) { this.lecturer = lecturer; this.module = module; }
/// <summary> /// The constructor of Lesson object with a set of properties. /// </summary> /// <param name="lecturer">The name of the Lecturer</param> /// <param name="module">The name of the Module</param> /// <param name="room">The name/number of the Room</param> public Lesson(Lecturer lecturer, Module module, Room room) { setLecturer(lecturer); setModule(module); setRoom(room); }