Info
Version: | 0.2.8 |
Author(s): | Mionex |
Last Update: | Sunday, March 19, 2017 |
.NET Fiddle: | Create the first Fiddle |
NuGet Url: | https://www.nuget.org/packages/mx.configuration |
Install
Install-Package mx.configuration
dotnet add package mx.configuration
paket add mx.configuration
mx.configuration Download (Unzip the "nupkg" after downloading)
Dependencies
- Castle.Core(>= 4.0.0)
- FluentValidation(>= 6.4.1)
- Newtonsoft.Json(>= 9.0.1)
The library uses Castle DictionaryAdapter to create interface implementations at runtime setting the properties with values from the configuration file. It also supports configuration interface validation using FluentValidation.
The library scans loaded assemblies for validators of the configuration interface and validates the configuration when it is loaded or saved.