Class ControlScheduler
Represents an object that schedules units of work using the UI thread of a Windows Forms control.
public class ControlScheduler : IScheduler
- Inheritance
-
ControlScheduler
- Implements
- Inherited Members
Constructors
- ControlScheduler(Control)
Initializes a new instance of the ControlScheduler class using the specified control.
Properties
- Control
Gets the control object used to schedule units of work.
- Now
Gets the current time according to the local machine's system clock.
Methods
- Schedule<TState>(TState, DateTimeOffset, Func<IScheduler, TState, IDisposable>)
Schedules an action to be executed at dueTime.
- Schedule<TState>(TState, Func<IScheduler, TState, IDisposable>)
Schedules an action to be executed.
- Schedule<TState>(TState, TimeSpan, Func<IScheduler, TState, IDisposable>)
Schedules an action to be executed after dueTime.