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