Bohdan Zhmud
Bohdan Zhmud

Reputation: 51

Where is 'With' method defined. ReactiveUI

I saw here that we can use

 (new TestScheduler()).With(sched =>{
    // Code run in this block will have both RxApp.MainThreadScheduler
    // and RxApp.TaskpoolScheduler assigned to the new TestScheduler.
});

But where is With method defined. I cant find any. Please help.

Microsoft.Reactive.Testing.TestScheduler does not contain a definition for With and no extension method With accepting a first argument of type Microsoft.Reactive.Testing.TestScheduler could be found

Upvotes: 0

Views: 118

Answers (1)

Gluck
Gluck

Reputation: 2962

This is an extension method defined here and you need nuget package reactiveui-testing to have it available.

Upvotes: 1

Related Questions