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
类型的第一个参数可以发现