C# Class 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.
Inheritance: IEncompassConfig
Afficher le fichier Open project: Guaranteed-Rate/GuaranteedRate.Sextant

Méthodes publiques

Méthode Description
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

Private Methods

Méthode Description
DoLoad ( Session session ) : bool

Method Details

GetConfigGroup() public méthode

Do not use. Always returns null in the iniConfig impllementation
public GetConfigGroup ( string key ) : IEncompassConfig
key string
Résultat IEncompassConfig

GetKeys() public méthode

public GetKeys ( ) : ICollection
Résultat ICollection

GetValue() public méthode

public GetValue ( string value, bool defaultValue ) : bool
value string
defaultValue bool
Résultat bool

GetValue() public méthode

public GetValue ( string key, string defaultVal = null ) : string
key string
defaultVal string
Résultat string

IniConfig() public méthode

public IniConfig ( string filename ) : EllieMae.Encompass.BusinessObjects
filename string
Résultat EllieMae.Encompass.BusinessObjects

Init() public méthode

public Init ( Session session ) : bool
session Session
Résultat bool

Init() public méthode

Loads the config from teh given string
public Init ( string configAsString ) : bool
configAsString string The ASCII-encoded string
Résultat bool

Reload() public méthode

public Reload ( Session session ) : bool
session Session
Résultat bool