Skip to content

SettingsStorage class

Defined in

Namespace: ReactiveMarbles.CacheDatabase.Settings.Core Assembly: ReactiveMarbles.CacheDatabase.EncryptedSettings.dll Full name: ReactiveMarbles.CacheDatabase.Settings.Core.SettingsStorage Modifiers: public abstract

Summary

View source

        Settings Storage.
        

Applies to

netstandard2.0, netstandard2.0

Class hierarchy
classDiagram
class SettingsStorage
class ISettingsStorage {
    <>
}
ISettingsStorage <|.. SettingsStorage
class INotifyPropertyChanged {
    <>
}
INotifyPropertyChanged <|.. SettingsStorage
class IDisposable {
    <>
}
IDisposable <|.. SettingsStorage
class IAsyncDisposable {
    <>
}
IAsyncDisposable <|.. SettingsStorage

Implements: ISettingsStorage, INotifyPropertyChanged, IDisposable, IAsyncDisposable

Constructors

NameSummary
.ctorInitializes a new instance of the [SettingsStorage](# class.

Methods

NameSummary
InitializeAsyncLoads every setting in this storage into the internal cache, or, if the value doesn't exist in the storage, initializes it with its default value. You dont HAVE to call this ...
DisposePerforms application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
DisposeAsyncPerforms application-defined tasks associated with freeing, releasing, or resetting unmanaged resources asynchronously.
GetOrCreateGets the value for the specified key, or, if the value doesn't exist, saves the defaultValue and returns it.
OnPropertyChangedCalled when [property changed].
SetOrCreateOverwrites the existing value or creates a new settings entry. The value is serialized via the Json.Net serializer.

Events

NameSummary
PropertyChangedOccurs when a property value changes.

Derived types

Inherited members