C# 클래스 Helpmebot.Legacy.Configuration.LegacyConfig

Handles all configuration settings of the bot
파일 보기 프로젝트 열기: helpmebot/helpmebot 1 사용 예제들

공개 메소드들

메소드 설명
ClearCache ( ) : void

The clear cache.

GetChannelId ( string channel ) : string

The get channel id.

Singleton ( ) : LegacyConfig

Singletons this instance.

this ( string globalOption ) : string

Gets or sets the System.String with the specified global option.

this ( string localOption, string locality ) : string

Gets or sets the System.String with the specified local option.

보호된 메소드들

메소드 설명
LegacyConfig ( ) : System

Initialises a new instance of the LegacyConfig class.

비공개 메소드들

메소드 설명
GetGlobalSetting ( string optionName ) : string

The get global setting.

GetOptionId ( string optionName ) : string

The get option id.

RetrieveOptionFromDatabase ( string optionName ) : string

The retrieve option from database.

SetGlobalOption ( string newValue, string optionName ) : void

The set global option.

SetLocalOption ( string channel, string optionName, string newValue ) : void

The set local option.

메소드 상세

ClearCache() 공개 메소드

The clear cache.
public ClearCache ( ) : void
리턴 void

GetChannelId() 공개 메소드

The get channel id.
public GetChannelId ( string channel ) : string
channel string /// The channel. ///
리턴 string

LegacyConfig() 보호된 메소드

Initialises a new instance of the LegacyConfig class.
protected LegacyConfig ( ) : System
리턴 System

Singleton() 공개 정적인 메소드

Singletons this instance.
public static Singleton ( ) : LegacyConfig
리턴 LegacyConfig

this() 공개 메소드

Gets or sets the System.String with the specified global option.
public this ( string globalOption ) : string
globalOption string /// The global Option. ///
리턴 string

this() 공개 메소드

Gets or sets the System.String with the specified local option.
public this ( string localOption, string locality ) : string
localOption string /// The local Option. ///
locality string /// The locality. ///
리턴 string