Exemplo n.º 1
0
        protected PomodoroPeriod(ICountdownTimer timer, ICountdownTimerStartAction startAction, ICountdownTimerUpdateAction updateAction)
        {
            _timer        = timer;
            _startAction  = startAction;
            _updateAction = updateAction;

            _timer.TimerEvent += TimerOnTimerEvent;
        }
 private SessionTimerUpdateAction_ShowNextStart(
     ICountdownTimerUpdateAction shortBreakAction,
     ICountdownTimerUpdateAction longBreakAction,
     ICounter counter)
 {
     _shortBreakAction = shortBreakAction;
     _longBreakAction  = longBreakAction;
     _counter          = counter;
 }
Exemplo n.º 3
0
 private CountdownTimerUpdateAction_TimerRunning(ICountdownTimerUpdateAction nextAction) => _nextAction = nextAction;
 public SessionTimerUpdateAction_ShowNextStart(ICountdownTimerUpdateAction nextAction) : this(
         new CountdownTimerUpdateAction_ShowShortBreakStart(nextAction),
         new CountdownTimerUpdateAction_ShowLongBreakStart(nextAction),
         new Counter())
 {
 }
Exemplo n.º 5
0
 public CountdownTimerUpdateAction_ShowShortBreakOver(ICountdownTimerUpdateAction nextAction) => _nextAction = nextAction;
 public CountdownTimerUpdateAction_GuardAgainstMore(ICountdownTimerUpdateAction nextAction) => _nextAction = nextAction;
Exemplo n.º 7
0
 public CountdownTimerUpdateAction_ShowLongBreakStart(ICountdownTimerUpdateAction nextAction) => _nextAction = nextAction;
Exemplo n.º 8
0
 public CountdownTimerUpdateAction_RemainingTime(ICountdownTimerUpdateAction nextAction) => _nextAction = nextAction;
Exemplo n.º 9
0
 public CountdownTimerUpdateAction_FinishedForeColor(ICountdownTimerUpdateAction nextAction) => _nextAction = nextAction;
Exemplo n.º 10
0
 private SessionTimerUpdateAction(ICountdownTimerUpdateAction finished, ICountdownTimerUpdateAction running)
 {
     _finished = finished;
     _running  = running;
 }
 private LongBreakTimerUpdateAction(ICountdownTimerUpdateAction finished, ICountdownTimerUpdateAction running)
 {
     _finished = finished;
     _running  = running;
 }
Exemplo n.º 12
0
 public CountdownTimerUpdateAction_FormToTop(ICountdownTimerUpdateAction nextAction) => _nextAction = nextAction;
Exemplo n.º 13
0
 public SessionTimerUpdateAction_TimerFinished(ICountdownTimerUpdateAction nextAction) => _nextAction = nextAction;
 public CountdownTimerUpdateAction_EnableShortBreakStart(ICountdownTimerUpdateAction nextAction) => _nextAction = nextAction;
Exemplo n.º 15
0
 public LongBreakTimerUpdateAction_TimerFinished(ICountdownTimerUpdateAction nextAction) => _nextAction = nextAction;
Exemplo n.º 16
0
 public CountdownTimerUpdateAction_ShowSessionStart(ICountdownTimerUpdateAction nextAction) => _nextAction = nextAction;
Exemplo n.º 17
0
 public TestPomodoroPeriod(ICountdownTimer timer, ICountdownTimerStartAction startAction, ICountdownTimerUpdateAction updateAction) :
     base(timer, startAction, updateAction)
 {
 }
 public CountdownTimerUpdateAction_DefaultForeColor(ICountdownTimerUpdateAction nextAction) => _nextAction = nextAction;