C# 클래스 NSoft.NFramework.Nini.Config.ConfigBase

상속: IConfig
파일 보기 프로젝트 열기: debop/NFramework 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
keys NSoft.NFramework.Nini.Util.OrderedList

공개 메소드들

메소드 설명
Add ( string key, string value ) : void
ConfigBase ( string name, IConfigSource source ) : System
Contains ( string key ) : bool
Get ( string key ) : string
Get ( string key, string defaultValue ) : string
GetBoolean ( string key ) : bool
GetBoolean ( string key, bool defaultValue ) : bool
GetDouble ( string key ) : double
GetDouble ( string key, double defaultValue ) : double
GetExpanded ( string key ) : string
GetFloat ( string key ) : float
GetFloat ( string key, float defaultValue ) : float
GetInt ( string key ) : int
GetInt ( string key, bool fromAlias ) : int
GetInt ( string key, int defaultValue ) : int
GetInt ( string key, int defaultValue, bool fromAlias ) : int
GetKeys ( ) : string[]
GetLong ( string key ) : long
GetLong ( string key, long defaultValue ) : long
GetString ( string key ) : string
GetString ( string key, string defaultValue ) : string
GetValues ( ) : string[]
Remove ( string key ) : void
Set ( string key, object value ) : void

보호된 메소드들

메소드 설명
OnKeyRemoved ( ConfigKeyEventArgs e ) : void
OnKeySet ( ConfigKeyEventArgs e ) : void

비공개 메소드들

메소드 설명
GetBooleanAlias ( string key ) : bool

Returns the boolean alias first from this IConfig then the parent if there is none.

GetIntAlias ( string key, string alias ) : int

Returns the integer alias first from this IConfig then the parent if there is none.

Rename ( string name ) : void

Renames the config to the new name.

메소드 상세

Add() 공개 메소드

public Add ( string key, string value ) : void
key string
value string
리턴 void

ConfigBase() 공개 메소드

public ConfigBase ( string name, IConfigSource source ) : System
name string
source IConfigSource
리턴 System

Contains() 공개 메소드

public Contains ( string key ) : bool
key string
리턴 bool

Get() 공개 메소드

public Get ( string key ) : string
key string
리턴 string

Get() 공개 메소드

public Get ( string key, string defaultValue ) : string
key string
defaultValue string
리턴 string

GetBoolean() 공개 메소드

public GetBoolean ( string key ) : bool
key string
리턴 bool

GetBoolean() 공개 메소드

public GetBoolean ( string key, bool defaultValue ) : bool
key string
defaultValue bool
리턴 bool

GetDouble() 공개 메소드

public GetDouble ( string key ) : double
key string
리턴 double

GetDouble() 공개 메소드

public GetDouble ( string key, double defaultValue ) : double
key string
defaultValue double
리턴 double

GetExpanded() 공개 메소드

public GetExpanded ( string key ) : string
key string
리턴 string

GetFloat() 공개 메소드

public GetFloat ( string key ) : float
key string
리턴 float

GetFloat() 공개 메소드

public GetFloat ( string key, float defaultValue ) : float
key string
defaultValue float
리턴 float

GetInt() 공개 메소드

public GetInt ( string key ) : int
key string
리턴 int

GetInt() 공개 메소드

public GetInt ( string key, bool fromAlias ) : int
key string
fromAlias bool
리턴 int

GetInt() 공개 메소드

public GetInt ( string key, int defaultValue ) : int
key string
defaultValue int
리턴 int

GetInt() 공개 메소드

public GetInt ( string key, int defaultValue, bool fromAlias ) : int
key string
defaultValue int
fromAlias bool
리턴 int

GetKeys() 공개 메소드

public GetKeys ( ) : string[]
리턴 string[]

GetLong() 공개 메소드

public GetLong ( string key ) : long
key string
리턴 long

GetLong() 공개 메소드

public GetLong ( string key, long defaultValue ) : long
key string
defaultValue long
리턴 long

GetString() 공개 메소드

public GetString ( string key ) : string
key string
리턴 string

GetString() 공개 메소드

public GetString ( string key, string defaultValue ) : string
key string
defaultValue string
리턴 string

GetValues() 공개 메소드

public GetValues ( ) : string[]
리턴 string[]

OnKeyRemoved() 보호된 메소드

protected OnKeyRemoved ( ConfigKeyEventArgs e ) : void
e ConfigKeyEventArgs
리턴 void

OnKeySet() 보호된 메소드

protected OnKeySet ( ConfigKeyEventArgs e ) : void
e ConfigKeyEventArgs
리턴 void

Remove() 공개 메소드

public Remove ( string key ) : void
key string
리턴 void

Set() 공개 메소드

public Set ( string key, object value ) : void
key string
value object
리턴 void

프로퍼티 상세

keys 보호되어 있는 프로퍼티

protected OrderedList,NSoft.NFramework.Nini.Util keys
리턴 NSoft.NFramework.Nini.Util.OrderedList