Skip to content

)}

AppSupportJsonSuspensionDriver.LoadState(JsonTypeInfo) method

Defined in

Type: AppSupportJsonSuspensionDriver Namespace: ReactiveUI.Reactive Assembly: ReactiveUI.Reactive.dll

Applies to

net11.0-ios27.2, net11.0-maccatalyst27.2, net11.0-macos27.2, net11.0-tvos27.2, net10.0-maccatalyst26.0, net10.0-ios26.0, net10.0-tvos26.0, net10.0-macos26.0

public IObservable<T?> LoadState<T>(JsonTypeInfo<T> typeInfo)

View source

Inherited documentation

These docs were inherited from ISuspensionDriver. The member doesn't override them on this type.

Summary: Loads application state from persistent storage using source-generated System.Text.Json metadata.

Type parameters

NameDescription
TThe expected state type.

Parameters

NameTypeDescription
typeInfoJsonTypeInfoThe source-generated metadata for T.

Returns: IObservable -- An observable that produces the deserialized state (or null).