/// <summary> /// Initializes a new instance of the <see cref="T:WheelOfFate.Web.Controllers.SupportSchedulesController"/> class. /// </summary> /// <param name="calendar">Calendar.</param> /// <param name="supportScheduleRepository">Support schedule repository.</param> /// <param name="supportScheduler">Support scheduler.</param> public SupportSchedulesController( ICalendar calendar, ISupportScheduleRepository supportScheduleRepository, SupportScheduler supportScheduler) { _calendar = calendar; _supportScheduleRepository = supportScheduleRepository; _supportScheduler = supportScheduler; }
public SupportCandidateSelector( IEngineerRepository engineerRepository, ISupportScheduleRepository supportScheduleRepository, IDayOffFilter dayOffFilter, IShiftAvailabilityReconciler shiftAvailabilityReconciler) { _engineerRepository = engineerRepository; _supportScheduleRepository = supportScheduleRepository; _dayOffFilter = dayOffFilter; _shiftAvailabilityReconciler = shiftAvailabilityReconciler; }
public SupportScheduler( ICalendar calendar, ISupportScheduleRepository supportScheduleRepository, ISupportScheduleDateValidator supportScheduleDateValidator, ISupportCandidateSelector supportCandidateSelector, IRandomSelector randomSelector) { _calendar = calendar; _supportScheduleRepository = supportScheduleRepository; _supportScheduleDateValidator = supportScheduleDateValidator; _supportCandidateSelector = supportCandidateSelector; _randomSelector = randomSelector; }
public DayOffFilter(ISupportScheduleRepository supportScheduleRepository) { _supportScheduleRepository = supportScheduleRepository; }
public ShiftAvailabilityReconciler(ISupportScheduleRepository supportScheduleRepository) { _supportScheduleRepository = supportScheduleRepository; }