Skip to content

SettingsStorage(string, IBlobCache) constructor

Defined in

Type: SettingsStorage Namespace: Akavache.Settings.Core Assembly: Akavache.Settings.dll

Applies to

net11.0, net11.0-ios27.2, net11.0-macos27.2, net11.0-windows10.0.19041, net11.0-android37.0, net11.0-maccatalyst27.2, net10.0, net10.0-windows10.0.19041, net10.0-android36.0, net10.0-maccatalyst26.0, net10.0-ios26.0, net10.0-macos26.0, net48, net47, net472, net471, net481

protected SettingsStorage(string keyPrefix, IBlobCache cache)

View source

Summary: Initializes a new instance of the SettingsStorage class.

Parameters

NameTypeDescription
keyPrefixstringThe prefix used for all settings keys in the blob cache. Should be unique to avoid key collisions.
cache[IBlobCache](#Akavache.IBlobCache)The blob cache implementation where settings will be stored and retrieved.

Exceptions

TypeCondition
System.ArgumentExceptionThrown when keyPrefix is null, empty, or whitespace.