public ScheduledTask(Func <Task> scheduledAsyncTask) { this._scheduledAction = new ActionOrAsyncFunc(scheduledAsyncTask); this._dayRestrictions = new DayRestrictions(); this._timeRestrictions = new TimeRestrictions(); }
public ScheduledEvent(Action scheduledAction) { this._scheduledAction = scheduledAction; this._dayRestrictions = new DayRestrictions(); this._timeRestrictions = new TimeRestrictions(); }