Info
Version: | 1.0.1 |
Author(s): | Erwin van der Valk |
Last Update: | Tuesday, November 20, 2018 |
.NET Fiddle: | Create the first Fiddle |
Project Url: | https://github.com/erwinvandervalk/templatedconfiguration/ |
NuGet Url: | https://www.nuget.org/packages/TemplatedConfiguration |
Install
Install-Package TemplatedConfiguration
dotnet add package TemplatedConfiguration
paket add TemplatedConfiguration
TemplatedConfiguration Download (Unzip the "nupkg" after downloading)
Dependencies
- microsoft.extensions.configuration(>= 2.1.1)
When retrieving a configuration setting value, it will look for placeholders.
If it finds any placeholder, it will try to see if the placeholder is actually configured as a setting. It will then (recursively) replace any placeholders within the setting's value.
This means you can compose configuration settings out of other configuration settings, which will allow you to override only parts of a config setting or the entire setting.