C# Class Alexandria.IniFileSection

A section within an IniFile.
Afficher le fichier Open project: Burton-Radons/Alexandria Class Usage Examples

Méthodes publiques

Méthode Description
GetMultiple ( string settingName ) : List

Return all settings with the specified name. If the setting does not exist, an empty list is returned.

IniFileSection ( IniFile file, string name ) : System

Initialise the section.

this ( string settingName ) : string

Get or set a setting. Assignment removes all settings but the new value, if there are more than one.

this ( string settingName, string defaultValue ) : string

Get a value of a setting. If the setting doesn't exist, this returns defaultValue.

Private Methods

Méthode Description
GetBase ( IniFileSetting setting ) : string

Method Details

GetMultiple() public méthode

Return all settings with the specified name. If the setting does not exist, an empty list is returned.
public GetMultiple ( string settingName ) : List
settingName string
Résultat List

IniFileSection() public méthode

Initialise the section.
public IniFileSection ( IniFile file, string name ) : System
file IniFile
name string
Résultat System

this() public méthode

Get or set a setting. Assignment removes all settings but the new value, if there are more than one.
public this ( string settingName ) : string
settingName string
Résultat string

this() public méthode

Get a value of a setting. If the setting doesn't exist, this returns defaultValue.
public this ( string settingName, string defaultValue ) : string
settingName string
defaultValue string
Résultat string