Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Represents the base class for virtual time schedulers using a priority queue for scheduled items.
Inheritance Hierarchy
System.Object
System.Reactive.Concurrency.VirtualTimeSchedulerBase<TAbsolute, TRelative>
System.Reactive.Concurrency.VirtualTimeScheduler<TAbsolute, TRelative>
Microsoft.Reactive.Testing.TestScheduler
Namespace: System.Reactive.Concurrency
Assembly: System.Reactive (in System.Reactive.dll)
Syntax
'Declaration
Public MustInherit Class VirtualTimeScheduler(Of TAbsolute, TRelative) _
Inherits VirtualTimeSchedulerBase(Of TAbsolute, TRelative)
'Usage
Dim instance As VirtualTimeScheduler(Of TAbsolute, TRelative)
public abstract class VirtualTimeScheduler<TAbsolute, TRelative> : VirtualTimeSchedulerBase<TAbsolute, TRelative>
generic<typename TAbsolute, typename TRelative>
public ref class VirtualTimeScheduler abstract : public VirtualTimeSchedulerBase<TAbsolute, TRelative>
[<AbstractClassAttribute>]
type VirtualTimeScheduler<'TAbsolute, 'TRelative> =
class
inherit VirtualTimeSchedulerBase<'TAbsolute, 'TRelative>
end
JScript does not support generic types and methods.
Type Parameters
- TAbsolute
The absolute time argument type.
- TRelative
The relative time argument type.
The VirtualTimeScheduler<TAbsolute, TRelative> type exposes the following members.
Constructors
Name | Description | |
---|---|---|
![]() |
VirtualTimeScheduler<TAbsolute, TRelative>() | Creates a new virtual time scheduler with the default value of TAbsolute for the initial clock value. |
![]() |
VirtualTimeScheduler<TAbsolute, TRelative>(TAbsolute, IComparer<TAbsolute>) | Creates a new virtual time scheduler. |
Top
Properties
Name | Description | |
---|---|---|
![]() |
Clock | Gets the scheduler's absolute time clock value. (Inherited from VirtualTimeSchedulerBase<TAbsolute, TRelative>.) |
![]() |
Comparer | Gets the comparer used to compare absolute time values. (Inherited from VirtualTimeSchedulerBase<TAbsolute, TRelative>.) |
![]() |
IsEnabled | Gets whether the scheduler is enabled to run work. (Inherited from VirtualTimeSchedulerBase<TAbsolute, TRelative>.) |
![]() |
Now | Gets the scheduler's notion of current time. (Inherited from VirtualTimeSchedulerBase<TAbsolute, TRelative>.) |
Top
Methods
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.