C# Класс Btl.Models.TimerModel

Наследование: ITimerModel
Показать файл Открыть проект

Открытые методы

Метод Описание
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.

Приватные методы

Метод Описание
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.

Описание методов

Reset() публичный Метод

Stop the current countdown and reset.
public Reset ( ) : void
Результат void

Start() публичный Метод

Start the countdown.
public Start ( ) : void
Результат void

Stop() публичный Метод

Stop the countdown.
public Stop ( ) : void
Результат void

TimerModel() публичный Метод

Construct a timer with a default duration of 25 minutes. This is a 'pomodoro' time span.
public TimerModel ( ) : System
Результат System

TimerModel() публичный Метод

Create a timer of the specified duration.
public TimerModel ( System.TimeSpan duration ) : System
duration System.TimeSpan
Результат System