public Scheduler(Schedule schedule, ICauseScheduledAnarchy action, IHandleTime timer) { Schedule = schedule; _action = action; _timer = timer; }
public IScheduler CreateSchedulerForAction(Schedule schedule, ICauseScheduledAnarchy action) => new Scheduler(schedule, action, _timer);