Interface ISuspensionDriver
- Namespace
- ReactiveUI
- Assembly
- ReactiveUI.dll
ISuspensionDriver represents a class that can load/save state to persistent storage. Most platforms have a basic implementation of this class, but you probably want to write your own.
- Extension Methods
Methods
InvalidateState()
Invalidates the application state (i.e. deletes it from disk).
Returns
- IObservable<Unit>
A completed observable.
LoadState()
Loads the application state from persistent storage.
Returns
- IObservable<object>
An object observable.
SaveState(object)
Saves the application state to disk.
Parameters
state
objectThe application state.
Returns
- IObservable<Unit>
A completed observable.