C# Class Common.Logging.Configuration.DefaultConfigurationReader

Implementation of IConfigurationReader that uses the standard .NET configuration APIs, ConfigurationSettings in 1.x and ConfigurationManager in 2.0
Inheritance: IConfigurationReader
Mostra file Open project: net-commons/common-logging Class Usage Examples

Public Methods

Method Description
GetSection ( string sectionName ) : object

Parses the configuration section and returns the resulting object. Using the System.Configuration.ConfigurationManager

Primary purpose of this method is to allow us to parse and load configuration sections using the same API regardless of the .NET framework version.

Method Details

GetSection() public method

Parses the configuration section and returns the resulting object. Using the System.Configuration.ConfigurationManager

Primary purpose of this method is to allow us to parse and load configuration sections using the same API regardless of the .NET framework version.

public GetSection ( string sectionName ) : object
sectionName string Name of the configuration section.
return object