Table of Contents

Interface ISettingsStorage

Namespace
Akavache.Settings
Assembly
Akavache.dll

Represents a storage interface for application settings that supports property change notifications and asynchronous operations.

public interface ISettingsStorage : INotifyPropertyChanged, IDisposable, IAsyncDisposable
Inherited Members
Extension Methods

Methods

InitializeAsync()

Loads all settings in this storage into the internal cache, initializing missing values with their defaults. While calling this method is optional, it is useful for applications with many settings where you want to load all settings at startup rather than loading them individually on first access.

[RequiresUnreferencedCode("Settings initialization requires types to be preserved for reflection.")]
[RequiresDynamicCode("Settings initialization requires types to be preserved for reflection.")]
Task InitializeAsync()

Returns

Task

A task that represents the asynchronous initialization operation.

See Also