共用方式為


VirtualTimeScheduler < TAbsolute、TRelative > 建構函式 (TAbsolute、IComparer < TAbsolute >)

建立新的虛擬時間排程器。

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 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
    時鐘的初始值。

另請參閱

參考

VirtualTimeScheduler < TAbsolute, TRelative > 類別

VirtualTimeScheduler < TAbsolute、 TRelative > 多載

System.Reactive.Concurrency 命名空間