public void Reset() { _fileBasedSchedule = new Lazy <IEnumerable <TalkScheduleItem> >(() => TalkScheduleFileBased.Read(_optionsService.Options.AutoBell)); _autoSchedule = new Lazy <IEnumerable <TalkScheduleItem> >(() => TalkScheduleAuto.Read(_optionsService, _dateTimeService, _isJanuary2020OrLater)); _manualSchedule = new Lazy <IEnumerable <TalkScheduleItem> >(() => TalkScheduleManual.Read(_optionsService)); }
public void Reset() { _fileBasedSchedule = new Lazy <IEnumerable <TalkScheduleItem> >(TalkScheduleFileBased.Read); _autoSchedule = new Lazy <IEnumerable <TalkScheduleItem> >(() => TalkScheduleAuto.Read(_optionsService)); _manualSchedule = new Lazy <IEnumerable <TalkScheduleItem> >(() => TalkScheduleManual.Read(_optionsService)); }