建立新的虛擬時間排程器。
Namespace:System.Reactive.Concurrency
裝配: System.Reactive.dll) 中的 System.Reactive (
語法
'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>
)
參數
- initialClock
類型: TAbsolute
時鐘的初始值。
- 比較
類型:System.Collections.Generic.IComparer<TAbsolute>
根據絕對時間判斷事件因果關係比較子。
另請參閱
參考
VirtualTimeSchedulerBase < TAbsolute, TRelative > 類別