C# Класс CsDebugScript.CodeGen.IndentedWriter

Helper class that provides indented writing to the text writer.
Показать файл Открыть проект

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

Метод Описание
IndentedWriter ( TextWriter output, bool compressed ) : System.IO

Initializes a new instance of the IndentedWriter class.

IndentedWriter ( TextWriter output, int indentSpaces = 4 ) : System.IO

Initializes a new instance of the IndentedWriter class.

WriteLine ( ) : void

Writes the empty line to the output.

WriteLine ( int indentation, string format ) : void

Writes the formatted line to the output.

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

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

Initializes a new instance of the IndentedWriter class.
public IndentedWriter ( TextWriter output, bool compressed ) : System.IO
output System.IO.TextWriter The output text writer.
compressed bool if set to true output should be compressed.
Результат System.IO

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

Initializes a new instance of the IndentedWriter class.
public IndentedWriter ( TextWriter output, int indentSpaces = 4 ) : System.IO
output System.IO.TextWriter The output text writer.
indentSpaces int The number of space characters in one indent unit.
Результат System.IO

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

Writes the empty line to the output.
public WriteLine ( ) : void
Результат void

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

Writes the formatted line to the output.
public WriteLine ( int indentation, string format ) : void
indentation int The indentation.
format string The format.
Результат void