C# 클래스 ABB.Swum.Utilities.SwumConfiguration

Provides access to the settings specified in the SWUM configuration file.
파일 보기 프로젝트 열기: abb-iss/Swum.NET

공개 메소드들

메소드 설명
GetFileSetting ( string key ) : string

Gets the value of the specified configuration setting, which is assumed to be a file path. If the path is relative, it is expanded to a full path, using the directory of the configuration file.

GetSetting ( string key ) : string

Gets the value of the specified configuration setting.

비공개 메소드들

메소드 설명
SwumConfiguration ( ) : System

Reads the configuration file associated with the current assembly.

메소드 상세

GetFileSetting() 공개 정적인 메소드

Gets the value of the specified configuration setting, which is assumed to be a file path. If the path is relative, it is expanded to a full path, using the directory of the configuration file.
public static GetFileSetting ( string key ) : string
key string The name of the setting to retrieve.
리턴 string

GetSetting() 공개 정적인 메소드

Gets the value of the specified configuration setting.
public static GetSetting ( string key ) : string
key string The name of the setting to retrieve.
리턴 string