C# 클래스 NSoft.NFramework.Nini.Ini.IniWriter

상속: IDisposable
파일 보기 프로젝트 열기: debop/NFramework 1 사용 예제들

공개 메소드들

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