Метод | Описание | |
---|---|---|
TimerViewModel ( ) : System |
Construct a new timer view model.
|
Метод | Описание | |
---|---|---|
AboutExecute ( ) : void |
Executed when we want to switch to the about view
|
|
AddEventHandlers ( ) : void |
Add the event handlers.
|
|
BindCommands ( ) : void | ||
CanStartTimerExecute ( ) : bool |
can we start the underlying timer?
|
|
CanStopTimerExecute ( ) : bool |
Can the timer be stopped?
|
|
ConsumeMessage ( |
Consume any messages that are passed between models
|
|
OnCompleted ( object sender, |
Fires where the timer completes.
|
|
OnReset ( object sender, |
Fires when the timer resets.
|
|
OnStarted ( object sender, |
Fires when the timer starts.
|
|
OnStopped ( object sender, |
Fires when the timer stops.
|
|
OnTick ( object sender, |
Fires when the timer ticks. Ticks out to be of the order of tenths of a second or so to prevent excessive spamming of this method.
|
|
ResetTimerExecute ( ) : void |
Reset the timer and update corresponding values.
|
|
SettingsExecute ( ) : void |
Executed when we want to switch to the settings view.
|
|
StartTimerExecute ( ) : void |
Start the underlying timer
|
|
StopTimerExecute ( ) : void |
Stop the underlying timer.
|
|
UpdateMembersFromSettings ( ) : void |
Update the TimerViewModel values from the (user defined) settings.
|
|
UpdateTimer ( |
Update the timer view model properties based on the time span passed in.
|
|
UpdateTimerStatusColor ( |
Set the solid colour based on the timer status.
|
|
UpdateTimerValues ( ) : void |
Update the timer view model properties based on the time span passed in.
|