C# Класс CoreTechs.Logging.IndentedTextWriter

Наследование: System.CodeDom.Compiler.IndentedTextWriter
Показать файл Открыть проект

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

Метод Описание
IndentedTextWriter ( ) : System

Initializes a new instance of the class using a new string writer and the default tab string.

IndentedTextWriter ( TextWriter writer ) : System

Initializes a new instance of the class using the specified text writer and default tab string.

ToString ( ) : string

Returns the inner writer's ToString(), which in the case of a StringWriter is the buffer itself.

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

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

The System.CodeDom.Compiler.IndentedTextWriter class has a bug in its constructor that sets the private field tabsPending to false instead of true, which prevents the first line written from being indented. This function fixes that bug via reflection.

IndentedTextWriter ( TextWriter writer, string tabString ) : System
IndentedTextWriter ( string tabString ) : System
WriteLines ( [ format ) : void

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

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

Initializes a new instance of the class using a new string writer and the default tab string.
public IndentedTextWriter ( ) : System
Результат System

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

Initializes a new instance of the class using the specified text writer and default tab string.
public IndentedTextWriter ( TextWriter writer ) : System
writer System.IO.TextWriter The to use for output.
Результат System

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

Returns the inner writer's ToString(), which in the case of a StringWriter is the buffer itself.
public ToString ( ) : string
Результат string