Esempio n. 1
0
 public JobDecorator(IJob job, Recurrence recurrence = null)
 {
     _job             = job ?? throw new InvalidParametersException();
     RecurrencePeriod = recurrence;
     Status           = recurrence == null ? JobStatus.InQueued : JobStatus.Scheduled;
 }