Пример #1
0
 public OnceDate(TimeProvider timeProvider, DateTime executeTime)
 {
     _timeProvider = timeProvider;
     _executeTime = executeTime;
     _wasExecuted = false;
 }
Пример #2
0
 public Interval(TimeProvider timeProvider, TimeSpan interval)
 {
     _timeProvider = timeProvider;
     _interval = interval;
 }
Пример #3
0
 public TimeIterationFactory()
 {
     _timeProvider = new TimeProvider();
 }
Пример #4
0
 public Interval(TimeProvider timeProvider, int days, int hours, int minute)
     : this(timeProvider, new TimeSpan(days, hours, minute, 0))
 {
 }