public EmployeeStaffingHolidayStrategy(StaffingParameters parameters) { _parameters = parameters; //TODO: There should be a better way to extend without needed to use the LocaleImplemetationLocator manually _innerHolidayStrategy = LocaleImplementationLocator.FindImplementationOf <IHolidayStrategy>(_parameters.Locale); }
public EmployeeStaffingWorkingDayCultureInfo(StaffingParameters parameters) { LocateHolidayStrategy = (name) => new EmployeeStaffingHolidayStrategy(parameters); }