ScheduledItem<TAbsolute>
public abstract class ScheduledItem<TAbsolute> : IScheduledItem<TAbsolute>, IComparable<ScheduledItem<TAbsolute>>, IDisposable where TAbsolute : IComparable<TAbsolute>
Abstract base class for scheduled work items.
Gets the absolute time at which the item is due for invocation.
Gets whether the work item has received a cancellation request.
Creates a new scheduled work item to run at the specified time.
Determines whether two specified ScheduledItem<T, U> objects are equal.
Determines whether one specified ScheduledItem<T> object is due after a second specified ScheduledItem<T> object.
public static bool op_GreaterThanOrEqual(ScheduledItem<TAbsolute> left, ScheduledItem<TAbsolute> right)
Determines whether one specified ScheduledItem<T> object is due after or at the same time of a second specified ScheduledItem<T> object.
Determines whether two specified ScheduledItem<T, U> objects are inequal.
Determines whether one specified ScheduledItem<T> object is due before a second specified ScheduledItem<T> object.
public static bool op_LessThanOrEqual(ScheduledItem<TAbsolute> left, ScheduledItem<TAbsolute> right)
Determines whether one specified ScheduledItem<T> object is due before or at the same of a second specified ScheduledItem<T> object.
Cancels the work item by disposing the resource returned by InvokeCore as soon as possible.
Compares the work item with another work item based on absolute time values.
Invokes the work item.
Implement this method to perform the work item invocation, returning a disposable object for deep cancellation.