C# 클래스 GuaranteedRate.Sextant.Config.IniConfig

IniConfig is a simple config class that expects data in the old .INI format: [key]=[value]\n Lines starting with # will be treated as comments Empty lines will be ignored.
상속: IEncompassConfig
파일 보기 프로젝트 열기: Guaranteed-Rate/GuaranteedRate.Sextant

공개 메소드들

메소드 설명
GetConfigGroup ( string key ) : IEncompassConfig

Do not use. Always returns null in the iniConfig impllementation

GetKeys ( ) : ICollection
GetValue ( string value, bool defaultValue ) : bool
GetValue ( string key, string defaultVal = null ) : string
IniConfig ( string filename ) : EllieMae.Encompass.BusinessObjects
Init ( Session session ) : bool
Init ( string configAsString ) : bool

Loads the config from teh given string

Reload ( Session session ) : bool

비공개 메소드들

메소드 설명
DoLoad ( Session session ) : bool

메소드 상세

GetConfigGroup() 공개 메소드

Do not use. Always returns null in the iniConfig impllementation
public GetConfigGroup ( string key ) : IEncompassConfig
key string
리턴 IEncompassConfig

GetKeys() 공개 메소드

public GetKeys ( ) : ICollection
리턴 ICollection

GetValue() 공개 메소드

public GetValue ( string value, bool defaultValue ) : bool
value string
defaultValue bool
리턴 bool

GetValue() 공개 메소드

public GetValue ( string key, string defaultVal = null ) : string
key string
defaultVal string
리턴 string

IniConfig() 공개 메소드

public IniConfig ( string filename ) : EllieMae.Encompass.BusinessObjects
filename string
리턴 EllieMae.Encompass.BusinessObjects

Init() 공개 메소드

public Init ( Session session ) : bool
session Session
리턴 bool

Init() 공개 메소드

Loads the config from teh given string
public Init ( string configAsString ) : bool
configAsString string The ASCII-encoded string
리턴 bool

Reload() 공개 메소드

public Reload ( Session session ) : bool
session Session
리턴 bool