Skip to content

Instantly share code, notes, and snippets.

@sandrinodimattia
Created July 23, 2012 05:44
Show Gist options
  • Save sandrinodimattia/3162128 to your computer and use it in GitHub Desktop.
Save sandrinodimattia/3162128 to your computer and use it in GitHub Desktop.
ServerConfigurationProvider
public class ServerConfigurationProvider : ConfigurationProviderBase<ServerConfigurationSection, ServerConfigurationMissingException>, IServerConfigurationProvider
{
public ServerConfigurationProvider()
: base("srvConfig")
{
}
/// <summary>
/// Read the configuration and just return the interface.
/// </summary>
/// <returns></returns>
public new IServerConfiguration Read()
{
return base.Read();
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment