C# Class Universe.Framework.Configuration.ConfigurationLoader

Loads the Configuration files into nIni
Afficher le fichier Open project: Virtual-Universe/Virtual-Universe Class Usage Examples

Méthodes publiques

Свойство Type Description
IsGridServer bool
defaultIniFile string
iniFilePath string
m_defines string>.Dictionary

Protected Properties

Свойство Type Description
inidbg bool
showIniLoading bool

Méthodes publiques

Méthode Description
AddIncludes ( List sources, string basePath, int &cntr, List &triedPaths, IConfigSource configSource ) : void

Adds the included files as ini configuration files

FixDefines ( IConfigSource &m_config ) : void
LoadConfigSettings ( IConfigSource argvSource ) : IConfigSource

Loads the region configuration

WriteConfigFile ( int i, IConfigSource m_config ) : void

Private Methods

Méthode Description
IsUri ( string file ) : bool

Check if we can convert the string to a URI

ReadConfig ( string iniPath, int i, IConfigSource source ) : bool

Provide same ini loader functionality for standard ini and master ini - file system or XML over http

Method Details

AddIncludes() public méthode

Adds the included files as ini configuration files
public AddIncludes ( List sources, string basePath, int &cntr, List &triedPaths, IConfigSource configSource ) : void
sources List List of URL strings or filename strings
basePath string
cntr int Where should we start inserting sources into the list?
triedPaths List
configSource IConfigSource
Résultat void

FixDefines() public méthode

public FixDefines ( IConfigSource &m_config ) : void
m_config IConfigSource
Résultat void

LoadConfigSettings() public méthode

Loads the region configuration
public LoadConfigSettings ( IConfigSource argvSource ) : IConfigSource
argvSource IConfigSource Parameters passed into the process when started
Résultat IConfigSource

WriteConfigFile() public méthode

public WriteConfigFile ( int i, IConfigSource m_config ) : void
i int
m_config IConfigSource
Résultat void

Property Details

IsGridServer public_oe property

public bool IsGridServer
Résultat bool

defaultIniFile public_oe property

public string defaultIniFile
Résultat string

iniFilePath public_oe property

public string iniFilePath
Résultat string

inidbg protected_oe property

Should we save all merging of the .ini files to the file-system?
protected bool inidbg
Résultat bool

m_defines public_oe property

public Dictionary m_defines
Résultat string>.Dictionary

showIniLoading protected_oe property

Should we show all the loading of the config files?
protected bool showIniLoading
Résultat bool