DummySuspensionDriver class¶
Defined in
Namespace: ReactiveUI
Assembly: ReactiveUI.dll
Full name: ReactiveUI.DummySuspensionDriver
Modifiers: public sealed
Summary¶
Provides a no-op implementation of the ISuspensionDriver interface for scenarios where application state persistence
is not required.
Applies to
net11.0, net11.0-maccatalyst27.2, net11.0-android37.0, net11.0-tvos27.2, net11.0-macos27.2, net11.0-ios27.2, net10.0, net10.0-tvos26.0, net10.0-android36.0, net10.0-maccatalyst26.0, net10.0-ios26.0, net10.0-macos26.0, net481, net47, net471, net472, net48
Class hierarchy
classDiagram
class DummySuspensionDriver
class ISuspensionDriver {
<>
}
ISuspensionDriver <|.. DummySuspensionDriver
Implements: ISuspensionDriver
Remarks¶
This class can be used in testing or development environments where state loading and saving are unnecessary. All methods complete immediately without performing any actual serialization or storage operations. No state is persisted or restored when using this driver.
Constructors¶
| Name | Summary |
|---|---|
| .ctor |
Methods¶
| Name | Summary |
|---|---|
| LoadState | Loads application state from persistent storage using source-generated System.Text.Json metadata. |
| SaveState | Saves application state to persistent storage using source-generated System.Text.Json metadata. |
| InvalidateState | Invalidates the persisted application state (for example, by deleting it from disk). |