VirtualTimeSchedulerBase<TAbsolute, TRelative> Methods

The VirtualTimeSchedulerBase<TAbsolute, TRelative> type exposes the following members.

  Name Description
Protected method Add Adds a relative time to an absolute time value.
Public method AdvanceBy Advances the scheduler's clock by the specified relative time, running all work scheduled for that timespan.
Public method AdvanceTo Advances the scheduler's clock to the specified time, running all work till that point.
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Protected method GetNext Gets the next scheduled item to be executed.
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method Schedule<TState>(TState, Func<IScheduler, TState, IDisposable>) Schedules an action to be executed.
Public method Schedule<TState>(TState, DateTimeOffset, Func<IScheduler, TState, IDisposable>) Schedules an action to be executed at dueTime.
Public method Schedule<TState>(TState, TimeSpan, Func<IScheduler, TState, IDisposable>) Schedules an action to be executed after dueTime.
Public method ScheduleAbsolute<TState> Schedules an action to be executed at dueTime.
Public method ScheduleRelative<TState> Schedules an action to be executed at dueTime.
Public method Start Starts the virtual time scheduler.
Public method Stop Stops the virtual time scheduler.
Protected method ToDateTimeOffset Converts the absolute time value to a DateTimeOffset value.
Protected method ToRelative Converts the TimeSpan value to a relative time value.
Public method ToString (Inherited from Object.)
Top

  Name Description
Public Extension Method Schedule(Action) Overloaded. Schedules an action to be executed. (Defined by Scheduler.)
Public Extension Method Schedule(Action<Action>) Overloaded. Schedules an action to be executed recursively. (Defined by Scheduler.)
Public Extension Method Schedule(TimeSpan, Action) Overloaded. Schedules an action to be executed after dueTime. (Defined by Scheduler.)
Public Extension Method Schedule(DateTimeOffset, Action) Overloaded. Schedules an action to be executed at dueTime. (Defined by Scheduler.)
Public Extension Method Schedule(TimeSpan, Action<Action<TimeSpan>>) Overloaded. Schedules an action to be executed recursively after each dueTime. (Defined by Scheduler.)
Public Extension Method Schedule(DateTimeOffset, Action<Action<DateTimeOffset>>) Overloaded. Schedules an action to be executed after dueTime. (Defined by Scheduler.)
Public Extension Method Schedule<TState>(TState, Action<TState, Action<TState>>) Overloaded. Schedules an action to be executed recursively. (Defined by Scheduler.)
Public Extension Method Schedule<TState>(TState, TimeSpan, Action<TState, Action<TState, TimeSpan>>) Overloaded. Schedules an action to be executed recursively after each dueTime. (Defined by Scheduler.)
Public Extension Method Schedule<TState>(TState, DateTimeOffset, Action<TState, Action<TState, DateTimeOffset>>) Overloaded. Schedules an action to be executed recursively at each dueTime. (Defined by Scheduler.)
Top
Show: