C# Класс ABB.Swum.Utilities.SwumConfiguration

Provides access to the settings specified in the SWUM configuration file.
Показать файл Открыть проект

Открытые методы

Метод Описание
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