메소드 | 설명 | |
---|---|---|
Indent ( ) : void |
Indents text by two spaces. After calling Indent(), two spaces will be inserted at the beginning of each line of text. Indent() may be called multiple times to produce deeper indents.
|
|
Outdent ( ) : void |
Reduces the current indent level by two spaces.
|
|
Print ( string text ) : void |
Prints the given text to the output stream, indenting at line boundaries.
|
|
TextGenerator ( |
Creates a generator writing to the given writer. The writer is not closed by this class.
|
|
Write ( string format ) : void | ||
WriteLine ( ) : void | ||
WriteLine ( string text ) : void |
public TextGenerator ( |
||
writer | ||
리턴 | System |