MarioGK / EasyConfig

A simple and easy to use Configuration helper.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

EasyConfig

License NuGet

Tutorial

Create a config class or record:

public class Config
{
    public string Prop { get; set; }
}

Then you can fetch the data from the fille like this:

var config = ConfigurationManager.Get<Config>();

When there is a need to save the config you can do it like this:

ConfigurationManager.Save(config);

That's it, really easy to use like the name.

About

A simple and easy to use Configuration helper.

License:MIT License


Languages

Language:C# 100.0%