C# 클래스 SimpleConfigurationManager.SConfigManager

Configuration manager class.
파일 보기 프로젝트 열기: tymanski/SimpleConfigurationManager 1 사용 예제들

공개 메소드들

메소드 설명
ReadConfigFromFile ( string path ) : string

Reads the configuration string from file and returns it.

This method is handling only reading operation and casting to XML. No XML validation is done here.

SConfigManager ( string configuration ) : System

Initializes a new instance of the TimConfigurationManager.ConfigurationManager class. It parses given configuration which have to be in proper XML format.

ToString ( ) : string

Returns a System.String that represents this instance.

메소드 상세

ReadConfigFromFile() 공개 정적인 메소드

Reads the configuration string from file and returns it.
This method is handling only reading operation and casting to XML. No XML validation is done here.
public static ReadConfigFromFile ( string path ) : string
path string Path to the file with configuration.
리턴 string

SConfigManager() 공개 메소드

Initializes a new instance of the TimConfigurationManager.ConfigurationManager class. It parses given configuration which have to be in proper XML format.
public SConfigManager ( string configuration ) : System
configuration string String containing configuration (in XML format) to be parsed into object.
리턴 System

ToString() 공개 메소드

Returns a System.String that represents this instance.
public ToString ( ) : string
리턴 string