VirtualTimeScheduler<TAbsolute, Construtor TRelative> (TAbsolute, IComparer<TAbsolute>)
Cria um novo agendador de tempo virtual.
Namespace:System.Reactive.Concurrency
Assembly: System.Reactive (em System.Reactive.dll)
Sintaxe
'Declaration
Protected Sub New ( _
initialClock As TAbsolute, _
comparer As IComparer(Of TAbsolute) _
)
'Usage
Dim initialClock As TAbsolute
Dim comparer As IComparer(Of TAbsolute)
Dim instance As New VirtualTimeScheduler(initialClock, _
comparer)
protected VirtualTimeScheduler(
TAbsolute initialClock,
IComparer<TAbsolute> comparer
)
protected:
VirtualTimeScheduler(
TAbsolute initialClock,
IComparer<TAbsolute>^ comparer
)
new :
initialClock:'TAbsolute *
comparer:IComparer<'TAbsolute> -> VirtualTimeScheduler
protected function VirtualTimeScheduler(
initialClock : TAbsolute,
comparer : IComparer<TAbsolute>
)
Parâmetros
- initialClock
Tipo: TAbsolute
O valor inicial do relógio.
- Comparador
Tipo: System.Collections.Generic.IComparer<TAbsolute>
O comparador para determinar a causalidade de eventos com base no tempo absoluto.
Consulte Também
Referência
VirtualTimeScheduler<TAbsolute, Classe TRelative>