/// <summary>
 /// Constructor for ScheduleVisualization. Sets passed parameters.
 /// </summary>
 /// <param name="courseRepo">The collection of courses.</param>
 /// <param name="roomRepo">The collection of rooms.</param>
 /// <param name="printer">Printer for the Excel schedules.</param>
 /// <param name="teacherName">Name of a teacher.</param>
 /// <param name="teacherSchedule">Collection of teachers' schedules.</param>
 public ScheduleVisualization(ICourseRepository courseRepo, IRoomRepository roomRepo, ISchedulePrinter printer, string teacherName, ITeacherScheduleRepository teacherSchedule)
 {
     CourseRepo      = courseRepo;
     RoomRepo        = roomRepo;
     Printer         = printer;
     TeacherName     = teacherName;
     TeacherSchedule = teacherSchedule;
 }
Beispiel #2
0
 public ScheduleVisualization(ICourseRepository courseRepo, IRoomRepository roomRepo, ISchedulePrinter printer)
 {
     CourseRepo = courseRepo;
     RoomRepo   = roomRepo;
     Printer    = printer;
 }
 public ConferenceManager(IActivitySource activitySource, ISchedulePrinter schedulePrinter)
 {
     _activitySource  = activitySource ?? throw new ArgumentNullException(nameof(activitySource));
     _schedulePrinter = schedulePrinter ?? throw new ArgumentNullException(nameof(schedulePrinter));
 }