ReplaySubject < T > 建構函式 (IScheduler)
使用指定的排程器,初始化ReplaySubject < T >類別的新實例。
Namespace:System.Reactive.Subjects
裝配: System.Reactive.dll) 中的 System.Reactive (
語法
'Declaration
Public Sub New ( _
scheduler As IScheduler _
)
'Usage
Dim scheduler As IScheduler
Dim instance As New ReplaySubject(scheduler)
public ReplaySubject(
IScheduler scheduler
)
public:
ReplaySubject(
IScheduler^ scheduler
)
new :
scheduler:IScheduler -> ReplaySubject
public function ReplaySubject(
scheduler : IScheduler
)
參數
- scheduler
類型: System.Reactive.Concurrency.IScheduler
觀察者會叫用排程器。