Ejemplo n.º 1
0
        public TwentyFourSevenTimer(TwentyFourSevenTimerConfig config, INow time)
        {
            myTimeReference = time;
            myConfig        = config;

            Alarms             = ParseConfig();
            LastAlarmTriggered = myTimeReference.Now();
        }
Ejemplo n.º 2
0
 public TwentyFourSevenTimer(TwentyFourSevenTimerConfig config)
     : this(config, new RealNow())
 {
 }