VirtualTimeScheduler<TAbsolute, TRelative> Constructor (TAbsolute, IComparer<TAbsolute>)
Создает новый виртуальный планировщик времени.
Пространство имен:System.Reactive.Concurrency
Сборки: System.Reactive (в System.Reactive.dll)
Синтаксис
'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>
)
Параметры
- initialClock
Тип: TAbsolute
Начальное значение для часов.
- comparer
Тип: System.Collections.Generic.IComparer<TAbsolute>
Функция сравнения для определения причинности событий на основе абсолютного времени.
См. также:
Ссылка
VirtualTimeScheduler<TAbsolute, TRelative> Class