C# 클래스 Common.Logging.Configuration.DefaultConfigurationReader

Implementation of IConfigurationReader that uses the standard .NET configuration APIs, ConfigurationSettings in 1.x and ConfigurationManager in 2.0
상속: IConfigurationReader
파일 보기 프로젝트 열기: net-commons/common-logging 1 사용 예제들

공개 메소드들

메소드 설명
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.

메소드 상세

GetSection() 공개 메소드

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.
리턴 object