C# Class CsDebugScript.CodeGen.IndentedWriter

Helper class that provides indented writing to the text writer.
Mostrar archivo Open project: southpolenator/WinDbgCs

Public Methods

Method Description
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.

Method Details

IndentedWriter() public method

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.
return System.IO

IndentedWriter() public method

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.
return System.IO

WriteLine() public method

Writes the empty line to the output.
public WriteLine ( ) : void
return void

WriteLine() public method

Writes the formatted line to the output.
public WriteLine ( int indentation, string format ) : void
indentation int The indentation.
format string The format.
return void