C# Class HA4IoT.Contracts.Core.TimedAction

Mostra file Open project: chkr1011/CK.HomeAutomation Class Usage Examples

Public Methods

Method Description
Cancel ( ) : void
Execute ( System.Action action ) : TimedAction
TimedAction ( System.TimeSpan dueTime, System.TimeSpan interval, ITimerService timerService ) : System

Private Methods

Method Description
CheckForTimeout ( object sender, TimerTickEventArgs e ) : void

Method Details

Cancel() public method

public Cancel ( ) : void
return void

Execute() public method

public Execute ( System.Action action ) : TimedAction
action System.Action
return TimedAction

TimedAction() public method

public TimedAction ( System.TimeSpan dueTime, System.TimeSpan interval, ITimerService timerService ) : System
dueTime System.TimeSpan
interval System.TimeSpan
timerService ITimerService
return System