C# Class HomeAutomation.Core.Scheduler.ScheduledTaskManager

Mostrar archivo Open project: moszinet/HomeAutomation

Public Methods

Method Description
ScheduleRealtimeTask ( IScheduledTask task ) : void
ScheduleTask ( IScheduledTask task, int period ) : void

Register a scheduled task.

ScheduledTaskManager ( ) : System.Collections.Generic

Method Details

ScheduleRealtimeTask() public method

public ScheduleRealtimeTask ( IScheduledTask task ) : void
task IScheduledTask
return void

ScheduleTask() public method

Register a scheduled task.
public ScheduleTask ( IScheduledTask task, int period ) : void
task IScheduledTask The task to be scheduled.
period int The period in seconds to wait between the tasks are run. This is not an exact time period, but /// it should be considered at least + best effort. If set to zero or negative, the system will try to execute the task /// as many times as possible.
return void

ScheduledTaskManager() public method

public ScheduledTaskManager ( ) : System.Collections.Generic
return System.Collections.Generic