Summary
Extension methods for the test based schedulers.
- Namespace
- ReactiveUI
.Testing - Base Types
-
- object
graph BT
Type-->Base0["object"]
Type["SchedulerExtensions"]
class Type type-node
Syntax
public static class SchedulerExtensions
Methods
Name | Value | Summary |
---|---|---|
AdvanceByMs |
void |
AdvanceByMs moves the TestScheduler along by the specified time in
milliseconds.
static
|
AdvanceToMs |
void |
AdvanceToMs moves the TestScheduler to the specified time in
milliseconds.
static
|
FromTimeSpan |
long |
Converts a timespan to a virtual time for testing.
static
|
OnCompletedAt |
Recorded |
OnCompletedAt is a method to help create simulated input Observables in
conjunction with CreateHotObservable or CreateColdObservable.
static
|
OnErrorAt |
Recorded |
OnErrorAt is a method to help create simulated input Observables in
conjunction with CreateHotObservable or CreateColdObservable.
static
|
OnNextAt |
Recorded |
OnNextAt is a method to help create simulated input Observables in
conjunction with CreateHotObservable or CreateColdObservable.
static
|
With |
TRet |
With is an extension method that uses the given scheduler as the
default Deferred and Taskpool schedulers for the given Func. Use
this to initialize objects that store the default scheduler (most
RxXaml objects).
static
|
With |
void |
With is an extension method that uses the given scheduler as the
default Deferred and Taskpool schedulers for the given Action.
static
|
WithAsync |
Task |
With is an extension method that uses the given scheduler as the
default Deferred and Taskpool schedulers for the given Func. Use
this to initialize objects that store the default scheduler (most
RxXaml objects).
static
|
WithAsync |
Task |
With is an extension method that uses the given scheduler as the
default Deferred and Taskpool schedulers for the given Action.
static
|
WithScheduler |
IDisposable |
WithScheduler overrides the default Deferred and Taskpool schedulers
with the given scheduler until the return value is disposed. This
is useful in a unit test runner to force RxXaml objects to schedule
via a TestScheduler object.
static
|
Extension Methods
Name | Value | Summary |
---|---|---|
Invoke |
object |
This is a thing I lifted from Prism.
|