C# Class CsDebugScript.CodeGen.IndentedWriter

Helper class that provides indented writing to the text writer.
Afficher le fichier Open project: southpolenator/WinDbgCs

Méthodes publiques

Méthode 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 méthode

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.
Résultat System.IO

IndentedWriter() public méthode

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.
Résultat System.IO

WriteLine() public méthode

Writes the empty line to the output.
public WriteLine ( ) : void
Résultat void

WriteLine() public méthode

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