Config

This package contains interfaces and classes used to create configuration readers from different sources, such as YAML and JSON files.

Interfaces

IConfigReader

Interface for configuration readers that retrieve configuration from various sources and make it available for other components.

Some IConfigReader implementations may support configuration parameterization. The parameterization allows to use configuration as a template and inject there dynamic values. The values may come from application command like arguments or environment variables.


Classes

CachedConfigReader

ConfigReader

Data object to store cached values with their keys used by MemoryCache

DefaultConfigReaderFactory

Creates IConfigReader components by their descriptors.

FileConfigReader

Abstract config reader that reads configuration from a file. Child classes add support for config files in their specific format like JSON, YAML or property files.

JsonConfigReader

Config reader that reads configuration from JSON file.

The reader supports parameterization using Handlebar template engine.

MemoryConfigReader

Config reader that stores configuration in memory.

YamlConfigReader

Config reader that reads configuration from YAML file.