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