Skip to content

Releases: rubms/DotNet.MultiSourceConfiguration

0.7.3

Choose a tag to compare

@rubms rubms released this 02 Jul 08:13

Added automatic conversion of enum types without explicitly having to specify a converter for them.

0.7.2 Version

Choose a tag to compare

@rubms rubms released this 28 May 14:32

Added support for the conversion of IEnumerable properties.

v0.4.0

Choose a tag to compare

@rubms rubms released this 26 Jul 06:40

New feature that provides the capability of specifying a default value for configuration properties, in case their value is not provided via configuration.

v0.3.3

Choose a tag to compare

@rubms rubms released this 13 Jun 13:01

Created new IConfigurationBuilder interface, which makes the configuration builder easier to mock when creating unit tests in classes that depend on it.

v0.3.2

Choose a tag to compare

@rubms rubms released this 12 Jun 13:08

Added caching and more supported data types for the configuration classes.

Version 0.3.0

Choose a tag to compare

@rubms rubms released this 28 Mar 12:37

The available out-of-the-box property sources are:

  • AppSettingsSource: looks for the properties in the .NET application settings file.
  • EnvironmentVariableSource: looks for the properties in the system environment variables.
  • CommandLineSource: tries to match the properties with arguments in the command line, with the format --=.
  • MemorySource: allows to define a series of properties in memory as use them as source of configuration.

The following types for configuration properties are available:

  • string, string[]
  • int?, int[]
  • long?, long[]
  • decimal?, decimal[]
  • float?, float[]
  • double?, double[]