SettingsStorage(string, IBlobCache) constructor¶
Defined in
Type: SettingsStorage
Namespace: Akavache.Reactive.Settings.Core
Assembly: Akavache.Settings.Reactive.dll
Applies to
net11.0, net11.0-maccatalyst27.2, net11.0-macos27.2, net11.0-windows10.0.19041, net11.0-android37.0, net11.0-ios27.2, net10.0, net10.0-windows10.0.19041, net10.0-android36.0, net10.0-ios26.0, net10.0-maccatalyst26.0, net10.0-macos26.0, net48, net471, net47, net472, net481
protected SettingsStorage(string keyPrefix, IBlobCache cache)
Summary: Initializes a new instance of the SettingsStorage class.
Parameters
| Name | Type | Description |
|---|---|---|
keyPrefix | string | The prefix used for all settings keys in the blob cache. Should be unique to avoid key collisions. |
cache | [IBlobCache](#Akavache.Reactive.IBlobCache) | The blob cache implementation where settings will be stored and retrieved. |
Exceptions
| Type | Condition |
|---|---|
| System.ArgumentException | Thrown when keyPrefix is null, empty, or whitespace. |