Invisionware.Settings.Overrides.CommandLineParser 1.1.5-pre01

This is a prerelease version of Invisionware.Settings.Overrides.CommandLineParser.
There is a newer version of this package available.
See the version list below for details.
dotnet add package Invisionware.Settings.Overrides.CommandLineParser --version 1.1.5-pre01
NuGet\Install-Package Invisionware.Settings.Overrides.CommandLineParser -Version 1.1.5-pre01
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="Invisionware.Settings.Overrides.CommandLineParser" Version="1.1.5-pre01" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Invisionware.Settings.Overrides.CommandLineParser --version 1.1.5-pre01
#r "nuget: Invisionware.Settings.Overrides.CommandLineParser, 1.1.5-pre01"
#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 Invisionware.Settings.Overrides.CommandLineParser as a Cake Addin
#addin nuget:?package=Invisionware.Settings.Overrides.CommandLineParser&version=1.1.5-pre01&prerelease

// Install Invisionware.Settings.Overrides.CommandLineParser as a Cake Tool
#tool nuget:?package=Invisionware.Settings.Overrides.CommandLineParser&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.

NuGet

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 Compatible and additional computed target framework versions.
.NET Framework net46 is compatible.  net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

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.1.10 620 3/20/2020
1.1.10-pre04 387 1/8/2020
1.1.10-pre03 577 1/7/2019
1.1.10-pre02 548 12/31/2018
1.1.10-pre01 541 12/30/2018
1.1.9 731 12/23/2018
1.1.6 741 9/26/2018
1.1.5 936 5/20/2018
1.1.5-pre04 751 2/9/2018
1.1.5-pre01 817 11/2/2017
1.1.4 903 6/5/2017

Initial Version