Skip to content

A dynamic configuration library to use with .net projects.

License

Notifications You must be signed in to change notification settings

kalilistic/FlexConfig

Repository files navigation

FlexConfig

Nuget

A dynamic configuration library to use with .net projects. Avoid creating oversized configuration objects with dozens or hundreds of properties. Set and get properties dynamically using keys instead! The library uses JSON for storing configurations and can support primitives and user-defined objects alike. Brought to you by SheepGoMeh and kalilistic.

Example

// create config obj
var config = new Configuration("config.json");

// load existing config file at path
config.Load();

// set property
config.Set("isEnabled", false);

// save config file
config.Save();

// retrieve property
var isEnabled = config.Get<bool>("isEnabled");

About

A dynamic configuration library to use with .net projects.

Topics

Resources

License

Stars

Watchers

Forks

Languages