The recording of the first ever ReactiveUI virtual conference is available on our YouTube Channel.

SuspensionHostExtensions Class

Summary

Extension methods associated with the ISuspensionHost interface.
Namespace
ReactiveUI
Base Types
  • object
graph BT Type-->Base0["object"] Type["SuspensionHostExtensions"] class Type type-node

Syntax

public static class SuspensionHostExtensions

Methods

Name Value Summary
GetAppState<T>(ISuspensionHost) T
Get the current App State of a class derived from ISuspensionHost.
static
ObserveAppState<T>(ISuspensionHost) IObservable<T>
Observe changes to the AppState of a class derived from ISuspensionHost.
static
SetupDefaultSuspendResume(ISuspensionHost, ISuspensionDriver) IDisposable
Setup our suspension driver for a class derived off ISuspensionHost interface. This will make your suspension host respond to suspend and resume requests.
static

Extension Methods

Name Value Summary
InvokeViewModelAction<T>(Action<T>) object
This is a thing I lifted from Prism.