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
Показать файл Открыть проект

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

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