C# Class Catel.Services.SchedulerService

Service that allows scheduling of actions in the future.
Inheritance: Catel.Services.ViewModelServiceBase, ISchedulerService
Show file Open project: Catel/Catel

Public Methods

Method Description
Schedule ( System.Action action, System.DateTime dateTime ) : void

Schedules the specified action in an absolute DateTime.

Schedule ( System.Action action, System.TimeSpan timeSpan ) : void

Schedules the specified action in a relative TimeSpan.

Method Details

Schedule() public method

Schedules the specified action in an absolute DateTime.
The is null. The is null. The is in the past.
public Schedule ( System.Action action, System.DateTime dateTime ) : void
action System.Action The action.
dateTime System.DateTime The date time.
return void

Schedule() public method

Schedules the specified action in a relative TimeSpan.
The is null. The is null. The is in the past.
public Schedule ( System.Action action, System.TimeSpan timeSpan ) : void
action System.Action The action.
timeSpan System.TimeSpan The time span.
return void