Edit

Share via


ISettingsStorageHelperExtensions Class

Definition

Helpers methods for working with ISettingsStorageHelper<TKey> implementations.

public static class ISettingsStorageHelperExtensions
type ISettingsStorageHelperExtensions = class
Public Module ISettingsStorageHelperExtensions
Inheritance
ISettingsStorageHelperExtensions

Methods

Delete<TKey>(ISettingsStorageHelper<TKey>, TKey)

Deletes a key from storage.

GetValueOrDefault<TKey,TValue>(ISettingsStorageHelper<TKey>, TKey, TValue)

Attempts to read the provided key and return the value. If the key is not found, the fallback value will be used instead.

Read<TKey,TValue>(ISettingsStorageHelper<TKey>, TKey)

Read the key in the storage helper instance and get the value.

Applies to