C# 클래스 Alexandria.IniFileSection

A section within an IniFile.
파일 보기 프로젝트 열기: Burton-Radons/Alexandria 1 사용 예제들

공개 메소드들

메소드 설명
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.

비공개 메소드들

메소드 설명
GetBase ( IniFileSetting setting ) : string

메소드 상세

GetMultiple() 공개 메소드

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
리턴 List

IniFileSection() 공개 메소드

Initialise the section.
public IniFileSection ( IniFile file, string name ) : System
file IniFile
name string
리턴 System

this() 공개 메소드

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
리턴 string

this() 공개 메소드

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
리턴 string