Méthode | Description | |
---|---|---|
Reset ( ) : void |
Stop the current countdown and reset.
|
|
Start ( ) : void |
Start the countdown.
|
|
Stop ( ) : void |
Stop the countdown.
|
|
TimerModel ( ) : System |
Construct a timer with a default duration of 25 minutes. This is a 'pomodoro' time span.
|
|
TimerModel ( System.TimeSpan duration ) : System |
Create a timer of the specified duration.
|
Méthode | Description | |
---|---|---|
OnCompleted ( ) : void |
Triggers the Completed event.
|
|
OnDispatcherTimerTick ( ) : void |
Handle the ticking of the system timer.
|
|
OnReset ( ) : void |
Triggers the TimerReset event
|
|
OnStarted ( ) : void |
Triggers the Started event.
|
|
OnStopped ( ) : void |
Triggers the Stopped event.
|
|
OnTick ( ) : void |
Triggers the Tick event.
|
public TimerModel ( System.TimeSpan duration ) : System | ||
duration | System.TimeSpan | |
Résultat | System |