https://github.com/arlodotexe/owlcore.componentmodel.settings
Components and models for handling settings within your application
https://github.com/arlodotexe/owlcore.componentmodel.settings
Last synced: 4 months ago
JSON representation
Components and models for handling settings within your application
- Host: GitHub
- URL: https://github.com/arlodotexe/owlcore.componentmodel.settings
- Owner: Arlodotexe
- Created: 2024-03-18T15:52:40.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-09-14T20:11:56.000Z (8 months ago)
- Last Synced: 2024-12-14T02:45:14.811Z (5 months ago)
- Language: C#
- Size: 29.3 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
Awesome Lists containing this project
README
# OwlCore.ComponentModel.Settings [](https://www.nuget.org/packages/OwlCore.ComponentModel.Settings)
Components and models for handling settings within your application
## Featuring:
- **Fast Access in Memory**: Settings values are stored in memory for quick access.
- **Data Persistence**: Settings values are persisted in a storage abstraction, ensuring data is not lost between sessions.
- **Customizable Storage and Serialization**: The constructor of `SettingsBase` allows you to specify the folder where settings are stored and the serializer used to serialize and deserialize settings to and from disk.
- **Settings Reset**: The `ResetAllSettings` method allows you to reset all settings values to their default.
- **Property Change Notification**: `SettingsBase` implements `INotifyPropertyChanged`, allowing it to notify subscribers when a property changes.## Install
Published releases are available on [NuGet](https://www.nuget.org/packages/OwlCore.ComponentModel.Settings). To install, run the following command in the [Package Manager Console](https://docs.nuget.org/docs/start-here/using-the-package-manager-console).
PM> Install-Package OwlCore.ComponentModel.Settings
Or using [dotnet](https://docs.microsoft.com/en-us/dotnet/core/tools/dotnet)> dotnet add package OwlCore.ComponentModel.Settings
## Usage
```cs
var test = new Thing();
```## Financing
We accept donations [here](https://github.com/sponsors/Arlodotexe) and [here](https://www.patreon.com/arlodotexe), and we do not have any active bug bounties.
## Versioning
Version numbering follows the Semantic versioning approach. However, if the major version is `0`, the code is considered alpha and breaking changes may occur as a minor update.
## License
All OwlCore code is licensed under the MIT License. OwlCore is licensed under the MIT License. See the [LICENSE](./src/LICENSE.txt) file for more details.