Navigation: CodeStencil > Custom Library > Class Library > Expansion Namespace > ExpansionBase Class > ExpansionBase Methods > BuildSnippet Method > ExpansionBase.BuildSnippet Method (StringBuilder, String, Int32, Boolean) |
Builds the snippet by adding passed text to your passed StringBuilder object
Namespace: ZeraSystems.CodeNanite.Expansion
Assembly: ZeraSystems.CodeNanite.Expansion (in ZeraSystems.CodeNanite.Expansion.dll)
public void BuildSnippet(
StringBuilder stringsBuilder,
string text,
int indent,
bool noCarriage
)
stringsBuilder
Type: StringBuilder
The strings builder.
text
Type: String
The text.
indent
Type: Int32
The indentation to use.
noCarriage
Type: Boolean
if set to true [no carriage].
ZeraSystems.CodeNanite.Expansion Namespace