Skip to content

CodeWriter constructor (1 of 3)

Initializes a new instance of the CodeWriter class.

public CodeWriter(int tabSize = 4)
parameter description
tabSize Number of spaces.

See Also


CodeWriter constructor (2 of 3)

Used to write formatted code to a string builder.

public CodeWriter(StringBuilder sb, int tabSize)
parameter description
sb The sb.
tabSize Number of spaces.

Remarks

Initializes a new instance of the CodeWriter class.

See Also


CodeWriter constructor (3 of 3)

Initializes a new instance of the CodeWriter class.

public CodeWriter(StringBuilder sb, string tab)
parameter description
sb The string builder.
tab Tab string (e.g. \9 or ' ').

See Also