Darp.Utils.Configuration
1.3.0
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet add package Darp.Utils.Configuration --version 1.3.0
NuGet\Install-Package Darp.Utils.Configuration -Version 1.3.0
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Darp.Utils.Configuration" Version="1.3.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Darp.Utils.Configuration --version 1.3.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Darp.Utils.Configuration, 1.3.0"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install Darp.Utils.Configuration as a Cake Addin #addin nuget:?package=Darp.Utils.Configuration&version=1.3.0 // Install Darp.Utils.Configuration as a Cake Tool #tool nuget:?package=Darp.Utils.Configuration&version=1.3.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Darp.Utils
This repository bundles all open source c# helper modules of 'rosslight GmbH'. To extend, add a new project and test project.
Darp.Utils.Assets
A collection of simple interfaces for app assets targeting desktop apps.
Currently implemented:
AppDataAssetsService
: Read or write to theApplicationData
. The relativePath might be e.g. the app name.
Example:
ServiceProvider provider = new ServiceCollection()
.AddAppDataAssetsService("RelativePath")
.BuildServiceProvider();
IAppDataAssetsService service = provider.GetRequiredService<IAppDataAssetsService>();
await service.SerializeJsonAsync("test.json", new { Prop1 = "value" });
Darp.Utils.Configuration
A writable configuration service. Can be registered using DI and injected into target services. Usage might include reading, writing and listening to changes via the INotifyPropertyChanged interface.
Example:
ServiceProvider provider = new ServiceCollection()
.AddAppDataAssetsService("RelativePath")
.AddConfigurationFile<TestConfig, IAppDataAssetsService>("config.json")
.BuildServiceProvider();
IConfigurationService<TestConfig> service = provider.GetRequiredService<IConfigurationService<TestConfig>>();
TestConfig config = await service.LoadConfigurationAsync();
await service.WriteConfigurationAsync(config with { Setting = "NewValue" });
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net8.0
- Darp.Utils.Assets (>= 1.3.0)
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 8.0.1)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
1.10.0 | 120 | 10/21/2024 |
1.9.2 | 143 | 10/19/2024 |
1.9.1 | 127 | 10/19/2024 |
1.9.0 | 99 | 9/30/2024 |
1.8.0 | 93 | 9/26/2024 |
1.7.4 | 89 | 9/23/2024 |
1.7.3 | 82 | 9/22/2024 |
1.7.2 | 79 | 9/22/2024 |
1.7.1 | 81 | 9/22/2024 |
1.7.0 | 80 | 9/22/2024 |
1.6.3 | 205 | 9/10/2024 |
1.6.2 | 114 | 9/9/2024 |
1.6.1 | 112 | 9/9/2024 |
1.6.0 | 113 | 9/9/2024 |
1.5.1 | 109 | 9/7/2024 |
1.5.0 | 111 | 9/5/2024 |
1.4.0 | 157 | 8/11/2024 |
1.3.0 | 111 | 8/9/2024 |
1.2.1 | 110 | 8/9/2024 |
1.2.0 | 111 | 8/9/2024 |
1.1.0 | 110 | 8/8/2024 |
1.0.1 | 113 | 8/8/2024 |
1.0.0 | 117 | 8/8/2024 |