# AppSettingsByConvention
 Reads settings from the appSettings section of your configuration by convention.
 The keys should follow the pattern "CLASSNAME.PROPERTYNAME".
 All properties on your config object need to appear in your configuration.
 
# Example usage

The target:

```C#
public interface IConfiguration {
	public string Value { get; }
}
```

Your config file:

```XML
	<appSettings>
		<add key="IConfiguration.Value" value="ReadThis" />
	</appSettings>
```

Loading the configuration:

```C#
SettingsByConvention.ForInterface<IConfiguration>().Create()
```
 
# Inversion of Control-setup
 Since the values never change after application starts, and reflection is involved in the load, I recommend that you register as a Singleton.
# AppSettingsByConvention
 Reads settings from the appSettings section of your configuration by convention.
 
 The keys should follow the pattern "CLASSNAME.PROPERTYNAME".
 
 All properties on your config object need to appear in your configuration.
 
 [![Build Status](https://travis-ci.org/dignite/AppSettingsByConvention.svg?branch=master)](https://travis-ci.org/dignite/AppSettingsByConvention)
 
# Example usage

This shows how to use this library with an interface.
The use for having a plain old C# class with properties is similar.

The target:

```C#
public interface IConfiguration {
	public string Value { get; }
}
```

Your config file:

```XML
	<appSettings>
		<add key="IConfiguration.Value" value="ReadThis" />
	</appSettings>
```

Loading the configuration:

```C#
SettingsByConvention.ForInterface<IConfiguration>().Create()
```
 
# Inversion of Control-setup
 Since the values never change after application starts, and reflection is involved in the load, I recommend that you register as a Singleton.
Add Travis CI badge to readme, and expand on example section.
Add Travis CI badge to readme, and expand on example section.
