Historicalscheduler

HistoricalScheduler Methods

Include Protected Members
Include Inherited Members

The HistoricalScheduler type exposes the following members.

Methods

NameDescriptionProtected methodAddAdds a relative time to an absolute time value. (Inherited from HistoricalSchedulerBase.)Public methodAdvanceByAdvances the scheduler's clock by the specified relative time, running all work scheduled for that timespan. (Inherited from VirtualTimeSchedulerBase<TAbsolute, TRelative>Public methodAdvanceToAdvances the scheduler's clock to the specified time, running all work till that point. (Inherited from VirtualTimeSchedulerBase<TAbsolute, TRelative>Public methodEquals(Inherited from Object.)Protected methodFinalize(Inherited from Object.)Public methodGetHashCode(Inherited from Object.)Protected methodGetNextGets the next scheduled item to be executed. (Overrides VirtualTimeSchedulerBase<TAbsolute, TRelative>.GetNext()Public methodGetType(Inherited from Object.)Protected methodMemberwiseClone(Inherited from Object.)Public methodSchedule(TState, Func<IScheduler, TState, IDisposable>)Schedules an action to be executed. (Inherited from VirtualTimeSchedulerBase<TAbsolute, TRelative>Public methodSchedule(TState, DateTimeOffset, Func<IScheduler, TState, IDisposable>)Schedules an action to be executed at dueTime. (Inherited from VirtualTimeSchedulerBase<TAbsolute, TRelative>Public methodSchedule(TState, TimeSpan, Func<IScheduler, TState, IDisposable>)Schedules an action to be executed after dueTime. (Inherited from VirtualTimeSchedulerBase<TAbsolute, TRelative>Public methodScheduleAbsolute(TState, DateTimeOffset, Func<IScheduler, TState, IDisposable>)Schedules an action to be executed at dueTime. (Overrides VirtualTimeSchedulerBase<TAbsolute, TRelative>.ScheduleAbsolute(TState, TAbsolute, Func<IScheduler, TState, IDisposable>).)Public methodScheduleAbsolute(TState, TAbsolute, Func<IScheduler, TState, IDisposable>)Schedules an action to be executed at dueTime. (Inherited from VirtualTimeSchedulerBase<TAbsolute, TRelative>Public methodScheduleRelativeSchedules an action to be executed at dueTime. (Inherited from VirtualTimeSchedulerBase<TAbsolute, TRelative>Public method[Start](Start\VirtualTimeSchedulerBase(TAbsolute,.md)Starts the virtual time scheduler. (Inherited from VirtualTimeSchedulerBase<TAbsolute, TRelative>Public method[Stop](Stop\VirtualTimeSchedulerBase(TAbsolute,.md)Stops the virtual time scheduler. (Inherited from VirtualTimeSchedulerBase<TAbsolute, TRelative>Protected methodToDateTimeOffsetConverts the absolute time value to a DateTimeOffset value. (Inherited from HistoricalSchedulerBase.)Protected methodToRelativeConverts the TimeSpan value to a relative time value. (Inherited from HistoricalSchedulerBase.)Public methodToString(Inherited from Object.)Top

See Also

Reference

HistoricalScheduler Class

System.Reactive.Concurrency Namespace

HistoricalScheduler Properties

Include Protected Members
Include Inherited Members

The HistoricalScheduler type exposes the following members.

Properties

NameDescriptionPublic property[Clock](Clock\VirtualTimeSchedulerBase(TAbsolute,.md)Gets the scheduler's absolute time clock value. (Inherited from VirtualTimeSchedulerBase<TAbsolute, TRelative>Protected property[Comparer](Comparer\VirtualTimeSchedulerBase(TAbsolute,.md)Gets the comparer used to compare absolute time values. (Inherited from VirtualTimeSchedulerBase<TAbsolute, TRelative>Public property[IsEnabled](IsEnabled\VirtualTimeSchedulerBase(TAbsolute,.md)Gets whether the scheduler is enabled to run work. (Inherited from VirtualTimeSchedulerBase<TAbsolute, TRelative>Public property[Now](Now\VirtualTimeSchedulerBase(TAbsolute,.md)Gets the scheduler's notion of current time. (Inherited from VirtualTimeSchedulerBase<TAbsolute, TRelative>Top

See Also

Reference

HistoricalScheduler Class

System.Reactive.Concurrency Namespace

HistoricalScheduler Class

Provides a virtual time scheduler that uses DateTimeOffset for absolute time and TimeSpan for relative time.

Inheritance Hierarchy

System.Object
  [System.Reactive.Concurrency.VirtualTimeSchedulerBase](VirtualTimeSchedulerBase\VirtualTimeSchedulerBase(TAbsolute,.md)<DateTimeOffset, TimeSpan>
    System.Reactive.Concurrency.HistoricalSchedulerBase
      System.Reactive.Concurrency.HistoricalScheduler

Namespace:  System.Reactive.Concurrency
Assembly:  System.Reactive (in System.Reactive.dll)

Syntax

'Declaration
Public Class HistoricalScheduler _
    Inherits HistoricalSchedulerBase
'Usage
Dim instance As HistoricalScheduler
public class HistoricalScheduler : HistoricalSchedulerBase
public ref class HistoricalScheduler : public HistoricalSchedulerBase
type HistoricalScheduler =  
    class
        inherit HistoricalSchedulerBase
    end
public class HistoricalScheduler extends HistoricalSchedulerBase

The HistoricalScheduler type exposes the following members.

Constructors

NameDescriptionPublic methodHistoricalSchedulerInitializes a new instance of the HistoricalScheduler class.Top

Properties

NameDescriptionPublic property[Clock](Clock\VirtualTimeSchedulerBase(TAbsolute,.md)Gets the scheduler's absolute time clock value. (Inherited from VirtualTimeSchedulerBase<TAbsolute, TRelative>Protected property[Comparer](Comparer\VirtualTimeSchedulerBase(TAbsolute,.md)Gets the comparer used to compare absolute time values. (Inherited from VirtualTimeSchedulerBase<TAbsolute, TRelative>Public property[IsEnabled](IsEnabled\VirtualTimeSchedulerBase(TAbsolute,.md)Gets whether the scheduler is enabled to run work. (Inherited from VirtualTimeSchedulerBase<TAbsolute, TRelative>Public property[Now](Now\VirtualTimeSchedulerBase(TAbsolute,.md)Gets the scheduler's notion of current time. (Inherited from VirtualTimeSchedulerBase<TAbsolute, TRelative>Top

Methods

NameDescriptionProtected methodAddAdds a relative time to an absolute time value. (Inherited from HistoricalSchedulerBase.)Public methodAdvanceByAdvances the scheduler's clock by the specified relative time, running all work scheduled for that timespan. (Inherited from VirtualTimeSchedulerBase<TAbsolute, TRelative>Public methodAdvanceToAdvances the scheduler's clock to the specified time, running all work till that point. (Inherited from VirtualTimeSchedulerBase<TAbsolute, TRelative>Public methodEquals(Inherited from Object.)Protected methodFinalize(Inherited from Object.)Public methodGetHashCode(Inherited from Object.)Protected methodGetNextGets the next scheduled item to be executed. (Overrides VirtualTimeSchedulerBase<TAbsolute, TRelative>.GetNext()Public methodGetType(Inherited from Object.)Protected methodMemberwiseClone(Inherited from Object.)Public methodSchedule(TState, Func<IScheduler, TState, IDisposable>)Schedules an action to be executed. (Inherited from VirtualTimeSchedulerBase<TAbsolute, TRelative>Public methodSchedule(TState, DateTimeOffset, Func<IScheduler, TState, IDisposable>)Schedules an action to be executed at dueTime. (Inherited from VirtualTimeSchedulerBase<TAbsolute, TRelative>Public methodSchedule(TState, TimeSpan, Func<IScheduler, TState, IDisposable>)Schedules an action to be executed after dueTime. (Inherited from VirtualTimeSchedulerBase<TAbsolute, TRelative>Public methodScheduleAbsolute(TState, DateTimeOffset, Func<IScheduler, TState, IDisposable>)Schedules an action to be executed at dueTime. (Overrides VirtualTimeSchedulerBase<TAbsolute, TRelative>.ScheduleAbsolute(TState, TAbsolute, Func<IScheduler, TState, IDisposable>).)Public methodScheduleAbsolute(TState, TAbsolute, Func<IScheduler, TState, IDisposable>)Schedules an action to be executed at dueTime. (Inherited from VirtualTimeSchedulerBase<TAbsolute, TRelative>Public methodScheduleRelativeSchedules an action to be executed at dueTime. (Inherited from VirtualTimeSchedulerBase<TAbsolute, TRelative>Public method[Start](Start\VirtualTimeSchedulerBase(TAbsolute,.md)Starts the virtual time scheduler. (Inherited from VirtualTimeSchedulerBase<TAbsolute, TRelative>Public method[Stop](Stop\VirtualTimeSchedulerBase(TAbsolute,.md)Stops the virtual time scheduler. (Inherited from VirtualTimeSchedulerBase<TAbsolute, TRelative>Protected methodToDateTimeOffsetConverts the absolute time value to a DateTimeOffset value. (Inherited from HistoricalSchedulerBase.)Protected methodToRelativeConverts the TimeSpan value to a relative time value. (Inherited from HistoricalSchedulerBase.)Public methodToString(Inherited from Object.)Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

System.Reactive.Concurrency Namespace

HistoricalScheduler Constructor

Initializes a new instance of the HistoricalScheduler class.

Namespace:  System.Reactive.Concurrency
Assembly:  System.Reactive (in System.Reactive.dll)

Syntax

'Declaration
Public Sub New
'Usage

Dim instance As New HistoricalScheduler()
public HistoricalScheduler()
public:
HistoricalScheduler()
new : unit -> HistoricalScheduler
public function HistoricalScheduler()

See Also

Reference

HistoricalScheduler Class

System.Reactive.Concurrency Namespace