VirtualTimeSchedulerBase<TAbsolute, TRelative> – konstruktor (TAbsolute, IComparer<TAbsolute>)
Vytvoří nový virtuální plánovač času.
Obor názvů:System.Reactive.Concurrency
Sestavení: System.Reactive (v System.Reactive.dll)
Syntaxe
'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 VirtualTimeSchedulerBase(initialClock, _
comparer)
protected VirtualTimeSchedulerBase(
TAbsolute initialClock,
IComparer<TAbsolute> comparer
)
protected:
VirtualTimeSchedulerBase(
TAbsolute initialClock,
IComparer<TAbsolute>^ comparer
)
new :
initialClock:'TAbsolute *
comparer:IComparer<'TAbsolute> -> VirtualTimeSchedulerBase
protected function VirtualTimeSchedulerBase(
initialClock : TAbsolute,
comparer : IComparer<TAbsolute>
)
Parametry
- počáteční uzamčení
Typ: TAbsolute
Počáteční hodnota pro hodiny.
- Comparer
Typ: System.Collections.Generic.IComparer<TAbsolute>
Porovnávač k určení kauzality událostí na základě absolutního času.
Viz také
Reference
VirtualTimeSchedulerBase<TAbsolute, TRelative> – třída