C# Class Orcus.Server.Core.Config.IniFile

显示文件 Open project: marlkiller/Orcus-1.9.1-crack Class Usage Examples

Public Methods

Method Description
AddSection ( string sSection ) : IniSection
GetKeyValue ( string sSection, string sKey ) : string
GetSection ( string sSection ) : IniSection
IniFile ( ) : System
Load ( string sFileName ) : void
Load ( string sFileName, bool bMerge ) : void
RemoveAllSections ( ) : bool
RemoveSection ( IniSection section ) : bool
RemoveSection ( string sSection ) : bool
RenameKey ( string sSection, string sKey, string sNewKey ) : bool
RenameSection ( string sSection, string sNewSection ) : bool
Save ( string sFileName ) : void
SetKeyValue ( string sSection, string sKey, string sValue ) : bool

Method Details

AddSection() public method

public AddSection ( string sSection ) : IniSection
sSection string
return IniSection

GetKeyValue() public method

public GetKeyValue ( string sSection, string sKey ) : string
sSection string
sKey string
return string

GetSection() public method

public GetSection ( string sSection ) : IniSection
sSection string
return IniSection

IniFile() public method

public IniFile ( ) : System
return System

Load() public method

public Load ( string sFileName ) : void
sFileName string
return void

Load() public method

public Load ( string sFileName, bool bMerge ) : void
sFileName string
bMerge bool
return void

RemoveAllSections() public method

public RemoveAllSections ( ) : bool
return bool

RemoveSection() public method

public RemoveSection ( IniSection section ) : bool
section IniSection
return bool

RemoveSection() public method

public RemoveSection ( string sSection ) : bool
sSection string
return bool

RenameKey() public method

public RenameKey ( string sSection, string sKey, string sNewKey ) : bool
sSection string
sKey string
sNewKey string
return bool

RenameSection() public method

public RenameSection ( string sSection, string sNewSection ) : bool
sSection string
sNewSection string
return bool

Save() public method

public Save ( string sFileName ) : void
sFileName string
return void

SetKeyValue() public method

public SetKeyValue ( string sSection, string sKey, string sValue ) : bool
sSection string
sKey string
sValue string
return bool