C# Класс NSoft.NFramework.Nini.Ini.IniWriter

Наследование: IDisposable
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
Close ( ) : void
Dispose ( ) : void
Flush ( ) : void
IniWriter ( Stream stream ) : System
IniWriter ( TextWriter writer ) : System
IniWriter ( string filePath ) : System
ToString ( ) : string
WriteEmpty ( ) : void
WriteEmpty ( string comment ) : void
WriteKey ( string key, string value ) : void
WriteKey ( string key, string value, string comment ) : void
WriteSection ( string section ) : void
WriteSection ( string section, string comment ) : void

Защищенные методы

Метод Описание
Dispose ( bool disposing ) : void

Приватные методы

Метод Описание
Comment ( string text ) : string

Returns a formatted comment.

GetKeyValue ( string text ) : string

Returns the value of a key.

MassageValue ( string text ) : string

Fixes the incoming value to prevent illegal characters from hurting the integrity of the INI file.

ValidateState ( ) : void

Validates the state to determine if the item can be written.

ValidateStateKey ( ) : void

Validates whether a key can be written.

Write ( string value ) : void

Writes data to the writer.

WriteLine ( string value ) : void

Writes a full line to the writer.

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

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

public Close ( ) : void
Результат void

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

public Dispose ( ) : void
Результат void

Dispose() защищенный Метод

protected Dispose ( bool disposing ) : void
disposing bool
Результат void

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

public Flush ( ) : void
Результат void

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

public IniWriter ( Stream stream ) : System
stream Stream
Результат System

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

public IniWriter ( TextWriter writer ) : System
writer System.IO.TextWriter
Результат System

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

public IniWriter ( string filePath ) : System
filePath string
Результат System

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

public ToString ( ) : string
Результат string

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

public WriteEmpty ( ) : void
Результат void

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

public WriteEmpty ( string comment ) : void
comment string
Результат void

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

public WriteKey ( string key, string value ) : void
key string
value string
Результат void

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

public WriteKey ( string key, string value, string comment ) : void
key string
value string
comment string
Результат void

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

public WriteSection ( string section ) : void
section string
Результат void

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

public WriteSection ( string section, string comment ) : void
section string
comment string
Результат void