C# Класс _3PA.Lib.IniReader

This classes reads a .ini file TODO: make it able to write the .ini as well?
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
GetValue ( string key, string @default ) : string

Returns the value of given key, independently of the section (returns the first occurence found)

GetValue ( string key, string section, string @default ) : string

Returns the value of the given key, search in the given section

IniReader ( string file ) : System

Constructor, call it with the .ini to parse

Описание методов

GetValue() публичный Метод

Returns the value of given key, independently of the section (returns the first occurence found)
public GetValue ( string key, string @default ) : string
key string
@default string
Результат string

GetValue() публичный Метод

Returns the value of the given key, search in the given section
public GetValue ( string key, string section, string @default ) : string
key string
section string
@default string
Результат string

IniReader() публичный Метод

Constructor, call it with the .ini to parse
public IniReader ( string file ) : System
file string
Результат System