SchedulerService

Name Value
Assembly Catel.Core
Namespace Catel.Services
Available on .NET Framework 4.5, .NET Framework 4.6, Xamarin - iOS
public class SchedulerService : ISchedulerService, ViewModelServiceBase

Base types ViewModelServiceBase

Implements interfaces ISchedulerService

Service that allows scheduling of actions in the future.

Methods

Schedule(Action action, DateTime dateTime)

Schedules the specified action in an absolute.

Parameters

Name Description
action The action.
dateTime The date time.

Exceptions

Name Description
ArgumentNullException The action isnull.
ArgumentOutOfRangeException The dateTime is in the past.

Schedule(Action action, TimeSpan timeSpan)

Schedules the specified action in a relative.

Parameters

Name Description
action The action.
timeSpan The time span.

Exceptions

Name Description
ArgumentNullException The action isnull.
ArgumentOutOfRangeException The timeSpan is in the past.

Have a question about Catel? Use StackOverflow with the Catel tag!


Discussion