The recording of the first ever ReactiveUI virtual conference is available on our YouTube Channel.

HistoricalSchedulerBase()s

HistoricalSchedulerBase Methods

Include Protected Members
Include Inherited Members

The HistoricalSchedulerBase type exposes the following members.

Methods

NameDescriptionProtected methodAddAdds a relative time to an absolute time value. (Overrides VirtualTimeSchedulerBase<TAbsolute, TRelative>.Add(TAbsolute, TRelative).)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 method[GetNext](GetNext/VirtualTimeSchedulerBase(TAbsolute,)Gets the next scheduled item to be executed. (Inherited from VirtualTimeSchedulerBase<TAbsolute, TRelative>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 methodScheduleAbsoluteSchedules 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,)Starts the virtual time scheduler. (Inherited from VirtualTimeSchedulerBase<TAbsolute, TRelative>Public method[Stop](Stop/VirtualTimeSchedulerBase(TAbsolute,)Stops the virtual time scheduler. (Inherited from VirtualTimeSchedulerBase<TAbsolute, TRelative>Protected methodToDateTimeOffsetConverts the absolute time value to a DateTimeOffset value. (Overrides VirtualTimeSchedulerBase<TAbsolute, TRelative>.ToDateTimeOffset(TAbsolute).)Protected methodToRelativeConverts the TimeSpan value to a relative time value. (Overrides VirtualTimeSchedulerBase<TAbsolute, TRelative>.ToRelative(TimeSpan).)Public methodToString(Inherited from Object.)Top

See Also

Reference

HistoricalSchedulerBase Class

System.Reactive.Concurrency Namespace

HistoricalSchedulerBase Constructor

Creates a new historical scheduler, using the minimum value of DateTimeOffset as the initial clock value.

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

Syntax

'Declaration
Protected Sub New
'Usage

Dim instance As New HistoricalSchedulerBase()
protected HistoricalSchedulerBase()
protected:
HistoricalSchedulerBase()
new : unit -> HistoricalSchedulerBase
protected function HistoricalSchedulerBase()

See Also

Reference

HistoricalSchedulerBase Class

System.Reactive.Concurrency Namespace

HistoricalSchedulerBase Class

Represents the base class for historical schedulers, virtual time schedulers that use 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 MustInherit Class HistoricalSchedulerBase _
    Inherits VirtualTimeSchedulerBase(Of DateTimeOffset, TimeSpan)
'Usage
Dim instance As HistoricalSchedulerBase
public abstract class HistoricalSchedulerBase : VirtualTimeSchedulerBase<DateTimeOffset, TimeSpan>
public ref class HistoricalSchedulerBase abstract : public VirtualTimeSchedulerBase<DateTimeOffset, TimeSpan>
[<AbstractClassAttribute>]
type HistoricalSchedulerBase =  
    class
        inherit VirtualTimeSchedulerBase<DateTimeOffset, TimeSpan>
    end
public abstract class HistoricalSchedulerBase extends VirtualTimeSchedulerBase<DateTimeOffset, TimeSpan>

The HistoricalSchedulerBase type exposes the following members.

Constructors

NameDescriptionProtected methodHistoricalSchedulerBaseCreates a new historical scheduler, using the minimum value of DateTimeOffset as the initial clock value.Top

Properties

NameDescriptionPublic property[Clock](Clock/VirtualTimeSchedulerBase(TAbsolute,)Gets the scheduler's absolute time clock value. (Inherited from VirtualTimeSchedulerBase<TAbsolute, TRelative>Protected property[Comparer](Comparer/VirtualTimeSchedulerBase(TAbsolute,)Gets the comparer used to compare absolute time values. (Inherited from VirtualTimeSchedulerBase<TAbsolute, TRelative>Public property[IsEnabled](IsEnabled/VirtualTimeSchedulerBase(TAbsolute,)Gets whether the scheduler is enabled to run work. (Inherited from VirtualTimeSchedulerBase<TAbsolute, TRelative>Public property[Now](Now/VirtualTimeSchedulerBase(TAbsolute,)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. (Overrides VirtualTimeSchedulerBase<TAbsolute, TRelative>.Add(TAbsolute, TRelative).)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 method[GetNext](GetNext/VirtualTimeSchedulerBase(TAbsolute,)Gets the next scheduled item to be executed. (Inherited from VirtualTimeSchedulerBase<TAbsolute, TRelative>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 methodScheduleAbsoluteSchedules 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,)Starts the virtual time scheduler. (Inherited from VirtualTimeSchedulerBase<TAbsolute, TRelative>Public method[Stop](Stop/VirtualTimeSchedulerBase(TAbsolute,)Stops the virtual time scheduler. (Inherited from VirtualTimeSchedulerBase<TAbsolute, TRelative>Protected methodToDateTimeOffsetConverts the absolute time value to a DateTimeOffset value. (Overrides VirtualTimeSchedulerBase<TAbsolute, TRelative>.ToDateTimeOffset(TAbsolute).)Protected methodToRelativeConverts the TimeSpan value to a relative time value. (Overrides VirtualTimeSchedulerBase<TAbsolute, TRelative>.ToRelative(TimeSpan).)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

HistoricalSchedulerBase Properties

Include Protected Members
Include Inherited Members

The HistoricalSchedulerBase type exposes the following members.

Properties

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

See Also

Reference

HistoricalSchedulerBase Class

System.Reactive.Concurrency Namespace