0
我看到here我們可以使用定義'With'方法在哪裏。 ReactiveUI
(new TestScheduler()).With(sched =>{
// Code run in this block will have both RxApp.MainThreadScheduler
// and RxApp.TaskpoolScheduler assigned to the new TestScheduler.
});
但哪一個定義With
方法。我無法找到任何。請幫忙。
Microsoft.Reactive.Testing.TestScheduler
不包含With
的定義,並沒有擴展方法With
接受Microsoft.Reactive.Testing.TestScheduler
類型的第一個參數可以發現