Compartilhar via


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.

Consulte Também

Referência

VirtualTimeScheduler<TAbsolute, Classe TRelative>

VirtualTimeScheduler<TAbsolute, Sobrecarga TRelative>

System.Reactive.Concurrency Namespace