C# Класс NStub.Core.Util.Dumper.XhtmlWriter

StringWriter with an event that is fired on text changes.
Fake output writer. does not really write xhtml .... to be done ... later
Наследование: System.IO.StringWriter
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
Close ( ) : void

Closes the current System.IO.StringWriter and the underlying stream.

Flush ( ) : void

Clears all buffers for the current writer and causes any buffered data to be written to the underlying device.

Write ( char value ) : void

Writes a character to this instance of the StringWriter.

Write ( char buffer, int index, int count ) : void

Writes the specified region of a character array to this instance of the StringWriter.

Write ( string value ) : void

Writes a string to this instance of the StringWriter.

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

Метод Описание
OnTextChanged ( TextWrittenEventArgs e ) : void

Raises the E: event.

RaiseTextChanged ( string text ) : void

Raises the text changed event.

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

Метод Описание
FlushForNewLine ( ) : void

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

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

Closes the current System.IO.StringWriter and the underlying stream.
public Close ( ) : void
Результат void

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

Clears all buffers for the current writer and causes any buffered data to be written to the underlying device.
public Flush ( ) : void
Результат void

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

Raises the E: event.
protected OnTextChanged ( TextWrittenEventArgs e ) : void
e TextWrittenEventArgs The instance containing the event data.
Результат void

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

Raises the text changed event.
protected RaiseTextChanged ( string text ) : void
text string The text of the event arguments.
Результат void

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

Writes a character to this instance of the StringWriter.
/// The writer is closed. ///
public Write ( char value ) : void
value char The character to write.
Результат void

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

Writes the specified region of a character array to this instance of the StringWriter.
/// is null. /// /// or is negative. /// /// ( + )> . Length. /// /// The writer is closed. ///
public Write ( char buffer, int index, int count ) : void
buffer char The character array to read data from.
index int The index at which to begin reading from .
count int The maximum number of characters to write.
Результат void

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

Writes a string to this instance of the StringWriter.
/// The writer is closed. ///
public Write ( string value ) : void
value string The string to write.
Результат void