HistoricalScheduler Methods
Include Protected Members
Include Inherited Members
The HistoricalScheduler type exposes the following members.
Methods
NameDescriptionAddAdds a relative time to an absolute time value. (Inherited from HistoricalSchedulerBase.)
AdvanceByAdvances the scheduler's clock by the specified relative time, running all work scheduled for that timespan. (Inherited from VirtualTimeSchedulerBase<TAbsolute, TRelative>
AdvanceToAdvances the scheduler's clock to the specified time, running all work till that point. (Inherited from VirtualTimeSchedulerBase<TAbsolute, TRelative>
Equals(Inherited from Object.)
Finalize(Inherited from Object.)
GetHashCode(Inherited from Object.)
GetNextGets the next scheduled item to be executed. (Overrides VirtualTimeSchedulerBase<TAbsolute, TRelative>.GetNext()
GetType(Inherited from Object.)
MemberwiseClone(Inherited from Object.)
Schedule
Schedule
Schedule
ScheduleAbsolute
ScheduleAbsolute
ScheduleRelative
[Start](Start/VirtualTimeSchedulerBase(TAbsolute,)Starts the virtual time scheduler. (Inherited from VirtualTimeSchedulerBase<TAbsolute, TRelative>
[Stop](Stop/VirtualTimeSchedulerBase(TAbsolute,)Stops the virtual time scheduler. (Inherited from VirtualTimeSchedulerBase<TAbsolute, TRelative>
ToDateTimeOffsetConverts the absolute time value to a DateTimeOffset value. (Inherited from HistoricalSchedulerBase.)
ToRelativeConverts the TimeSpan value to a relative time value. (Inherited from HistoricalSchedulerBase.)
ToString(Inherited from Object.)Top
See Also
Reference
System.Reactive.Concurrency Namespace
HistoricalScheduler Properties
Include Protected Members
Include Inherited Members
The HistoricalScheduler type exposes the following members.
Properties
NameDescription[Clock](Clock/VirtualTimeSchedulerBase(TAbsolute,)Gets the scheduler's absolute time clock value. (Inherited from VirtualTimeSchedulerBase<TAbsolute, TRelative>
[Comparer](Comparer/VirtualTimeSchedulerBase(TAbsolute,)Gets the comparer used to compare absolute time values. (Inherited from VirtualTimeSchedulerBase<TAbsolute, TRelative>
[IsEnabled](IsEnabled/VirtualTimeSchedulerBase(TAbsolute,)Gets whether the scheduler is enabled to run work. (Inherited from VirtualTimeSchedulerBase<TAbsolute, TRelative>
[Now](Now/VirtualTimeSchedulerBase(TAbsolute,)Gets the scheduler's notion of current time. (Inherited from VirtualTimeSchedulerBase<TAbsolute, TRelative>Top
See Also
Reference
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,)<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
NameDescriptionHistoricalSchedulerInitializes a new instance of the HistoricalScheduler class.Top
Properties
NameDescription[Clock](Clock/VirtualTimeSchedulerBase(TAbsolute,)Gets the scheduler's absolute time clock value. (Inherited from VirtualTimeSchedulerBase<TAbsolute, TRelative>
[Comparer](Comparer/VirtualTimeSchedulerBase(TAbsolute,)Gets the comparer used to compare absolute time values. (Inherited from VirtualTimeSchedulerBase<TAbsolute, TRelative>
[IsEnabled](IsEnabled/VirtualTimeSchedulerBase(TAbsolute,)Gets whether the scheduler is enabled to run work. (Inherited from VirtualTimeSchedulerBase<TAbsolute, TRelative>
[Now](Now/VirtualTimeSchedulerBase(TAbsolute,)Gets the scheduler's notion of current time. (Inherited from VirtualTimeSchedulerBase<TAbsolute, TRelative>Top
Methods
NameDescriptionAddAdds a relative time to an absolute time value. (Inherited from HistoricalSchedulerBase.)
AdvanceByAdvances the scheduler's clock by the specified relative time, running all work scheduled for that timespan. (Inherited from VirtualTimeSchedulerBase<TAbsolute, TRelative>
AdvanceToAdvances the scheduler's clock to the specified time, running all work till that point. (Inherited from VirtualTimeSchedulerBase<TAbsolute, TRelative>
Equals(Inherited from Object.)
Finalize(Inherited from Object.)
GetHashCode(Inherited from Object.)
GetNextGets the next scheduled item to be executed. (Overrides VirtualTimeSchedulerBase<TAbsolute, TRelative>.GetNext()
GetType(Inherited from Object.)
MemberwiseClone(Inherited from Object.)
Schedule
Schedule
Schedule
ScheduleAbsolute
ScheduleAbsolute
ScheduleRelative
[Start](Start/VirtualTimeSchedulerBase(TAbsolute,)Starts the virtual time scheduler. (Inherited from VirtualTimeSchedulerBase<TAbsolute, TRelative>
[Stop](Stop/VirtualTimeSchedulerBase(TAbsolute,)Stops the virtual time scheduler. (Inherited from VirtualTimeSchedulerBase<TAbsolute, TRelative>
ToDateTimeOffsetConverts the absolute time value to a DateTimeOffset value. (Inherited from HistoricalSchedulerBase.)
ToRelativeConverts the TimeSpan value to a relative time value. (Inherited from HistoricalSchedulerBase.)
ToString(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()