C# Class Pluton.IniParser

Inheritance: Pluton.CountedInstance
Datei anzeigen Open project: Notulp/Pluton Class Usage Examples

Public Properties

Property Type Description
FilePath string
Name string
Sections IniSection>.Dictionary

Public Methods

Method Description
AddSectionComments ( string section ) : void
AddSetting ( string section, string setting ) : void
AddSetting ( string section, string setting, string value ) : void
AddSettingComments ( string section, string setting ) : void
ContainsSetting ( string section, string setting ) : bool
ContainsValue ( string value ) : bool
Count ( ) : int
DeleteSection ( string section ) : void
DeleteSetting ( string section, string setting ) : void
EnumSection ( string section ) : string[]
GetBoolSetting ( string section, string setting ) : bool
GetBoolSetting ( string section, string setting, bool defaultvalue ) : bool
GetIntSetting ( string section, string setting ) : int
GetIntSetting ( string section, string setting, int defaultvalue ) : int
GetSetting ( string section, string setting ) : string
GetSetting ( string section, string setting, string defaultvalue ) : string
IniParser ( string iniPath ) : System
Save ( ) : void
SaveSettings ( string newFilePath ) : void
SetSetting ( string section, string setting, string value ) : void
this ( string section ) : IniSection
this ( string section, string setting ) : string

Method Details

AddSectionComments() public method

public AddSectionComments ( string section ) : void
section string
return void

AddSetting() public method

public AddSetting ( string section, string setting ) : void
section string
setting string
return void

AddSetting() public method

public AddSetting ( string section, string setting, string value ) : void
section string
setting string
value string
return void

AddSettingComments() public method

public AddSettingComments ( string section, string setting ) : void
section string
setting string
return void

ContainsSetting() public method

public ContainsSetting ( string section, string setting ) : bool
section string
setting string
return bool

ContainsValue() public method

public ContainsValue ( string value ) : bool
value string
return bool

Count() public method

public Count ( ) : int
return int

DeleteSection() public method

public DeleteSection ( string section ) : void
section string
return void

DeleteSetting() public method

public DeleteSetting ( string section, string setting ) : void
section string
setting string
return void

EnumSection() public method

public EnumSection ( string section ) : string[]
section string
return string[]

GetBoolSetting() public method

public GetBoolSetting ( string section, string setting ) : bool
section string
setting string
return bool

GetBoolSetting() public method

public GetBoolSetting ( string section, string setting, bool defaultvalue ) : bool
section string
setting string
defaultvalue bool
return bool

GetIntSetting() public method

public GetIntSetting ( string section, string setting ) : int
section string
setting string
return int

GetIntSetting() public method

public GetIntSetting ( string section, string setting, int defaultvalue ) : int
section string
setting string
defaultvalue int
return int

GetSetting() public method

public GetSetting ( string section, string setting ) : string
section string
setting string
return string

GetSetting() public method

public GetSetting ( string section, string setting, string defaultvalue ) : string
section string
setting string
defaultvalue string
return string

IniParser() public method

public IniParser ( string iniPath ) : System
iniPath string
return System

Save() public method

public Save ( ) : void
return void

SaveSettings() public method

public SaveSettings ( string newFilePath ) : void
newFilePath string
return void

SetSetting() public method

public SetSetting ( string section, string setting, string value ) : void
section string
setting string
value string
return void

this() public method

public this ( string section ) : IniSection
section string
return IniSection

this() public method

public this ( string section, string setting ) : string
section string
setting string
return string

Property Details

FilePath public_oe property

public string FilePath
return string

Name public_oe property

public string Name
return string

Sections public_oe property

public Dictionary Sections
return IniSection>.Dictionary