Class DummySuspensionDriver
- Namespace
- ReactiveUI
- Assembly
- ReactiveUI.dll
A suspension driver that does not do anything. Useful potentially for unit testing or for platforms where you don't want to use a Suspension Driver.
public class DummySuspensionDriver : ISuspensionDriver
- Inheritance
-
DummySuspensionDriver
- Implements
- Extension Methods
Constructors
DummySuspensionDriver()
public DummySuspensionDriver()
Methods
InvalidateState()
Invalidates the application state (i.e. deletes it from disk).
public IObservable<Unit> InvalidateState()
Returns
- IObservable<Unit>
A completed observable.
LoadState()
Loads the application state from persistent storage.
public IObservable<object> LoadState()
Returns
- IObservable<object>
An object observable.
SaveState(object)
Saves the application state to disk.
public IObservable<Unit> SaveState(object state)
Parameters
state
objectThe application state.
Returns
- IObservable<Unit>
A completed observable.