Invisionware.Settings
1.1.5-pre01
See the version list below for details.
dotnet add package Invisionware.Settings --version 1.1.5-pre01
NuGet\Install-Package Invisionware.Settings -Version 1.1.5-pre01
<PackageReference Include="Invisionware.Settings" Version="1.1.5-pre01" />
paket add Invisionware.Settings --version 1.1.5-pre01
#r "nuget: Invisionware.Settings, 1.1.5-pre01"
// Install Invisionware.Settings as a Cake Addin #addin nuget:?package=Invisionware.Settings&version=1.1.5-pre01&prerelease // Install Invisionware.Settings as a Cake Tool #tool nuget:?package=Invisionware.Settings&version=1.1.5-pre01&prerelease
Invisionware Framework
Invisionware Frmaework is a collection of utilities classes, extension methods, and new functionality to simplify creatig application in .NET. Amost all of the libraries are support on Dektop and Mobile (including Xamarin) development environments to provide the maxinum value possible.
Settings
This portion of the Invisionware Framework provides a Settings Framework that is very similiar to Serilog in that it supports extensions for where the settings are stored, how they are accessed, etc.
Packages related to Invisionware Settings
Install-Package Invisionware.Settings
Then just add the following using statement
using Invisionware.Settings;
Sinks
Sinks provide a way to read/write settings from different sources
AzureDocumentDb
Read/Write settings from Azure DocumentDb
AzureStorage
Read/Write Settings from Azure Storage
JsonNet
Read/Write Settings from JsonNet files
Overrides
Overrides allow for "overriding" settings during the read/write operation. These are useful for loading settings from one source and then updating specific individual settings from something like the CommandLine
SettingsAcionOverride
A generic override that executes a specific action immediately before or after reading the settings and before returning the settings object
Example
public class CustomSettings
{
public string String1 { get; set; } = "String1";
public int Int1 { get; set; } = 1;
public CustomSettingsNested Nested { get; set; } = new CustomSettingsNested();
}
public class CustomSettingsNested
{
public string String2 { get; set; } = "Nested.String2";
}
var f = System.IO.Path.Combine(TestContext.CurrentContext.WorkDirectory, "customSettings.json");
var settingsConfig = new SettingsConfiguration<CustomSettings>().WriteTo.JsonNet(f).ReadFrom.JsonNet(f);
var settingsMgr = settingsConfig.CreateSettingsMgr();
settings.String1 = "Test 1";
settingsMgr.SaveSettings(settings);
var settings = settingsMgr.LoadSettings();
Console.WriteLine(settings.String1);
// Test 1;
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. 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. |
.NET Core | netcoreapp1.0 was computed. netcoreapp1.1 was computed. netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
.NET Standard | netstandard1.1 is compatible. netstandard1.2 was computed. netstandard1.3 was computed. netstandard1.4 was computed. netstandard1.5 was computed. netstandard1.6 was computed. netstandard2.0 was computed. netstandard2.1 was computed. |
.NET Framework | net45 was computed. net451 was computed. net452 was computed. net46 was computed. net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
MonoAndroid | monoandroid was computed. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | tizen30 was computed. tizen40 was computed. tizen60 was computed. |
Universal Windows Platform | uap was computed. uap10.0 was computed. |
Windows Phone | wpa81 was computed. |
Windows Store | netcore was computed. netcore45 was computed. netcore451 was computed. |
Xamarin.iOS | xamarinios was computed. |
Xamarin.Mac | xamarinmac was computed. |
Xamarin.TVOS | xamarintvos was computed. |
Xamarin.WatchOS | xamarinwatchos was computed. |
-
- Serilog (>= 2.4.0)
NuGet packages (9)
Showing the top 5 NuGet packages that depend on Invisionware.Settings:
Package | Downloads |
---|---|
Invisionware.Settings.Sinks.AzureDocumentDb
Contains an implementation of a Reader/Write sink for AzureDocumentDb for the Invisionware Settings Library |
|
Invisionware.Settings.Overrides.CommandLineParser
Contains an implementation of a overrider for CommandLineParser for the Invisionware Settings Library |
|
Invisionware.Settings.Overrides.AppConfig
Contains an implementation of a overrider for AppConfig for the Invisionware Settings Library |
|
Invisionware.Settings.Overrides.AzureConfigurationManager
Contains an implementation of a overrider for AzureConfigurationManager for the Invisionware Settings Library |
|
Invisionware.Settings.Sinks.JsonNet
Contains an implementation of a Reader/Write sink for Json.NET for the Invisionware Settings Library |
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
1.1.10 | 2,516 | 3/20/2020 |
1.1.10-pre04 | 1,510 | 1/8/2020 |
1.1.10-pre03 | 1,928 | 1/7/2019 |
1.1.10-pre02 | 1,630 | 12/31/2018 |
1.1.10-pre01 | 1,750 | 12/30/2018 |
1.1.9 | 2,278 | 12/23/2018 |
1.1.6 | 813 | 9/26/2018 |
1.1.5 | 3,049 | 5/20/2018 |
1.1.5-pre04 | 1,345 | 2/9/2018 |
1.1.5-pre01 | 1,309 | 11/2/2017 |
1.1.4 | 2,075 | 6/5/2017 |
Bug Fixes