Navigation: CodeStencil > Custom Library > Class Library > Expansion Namespace > ExpansionBase Class > ExpansionBase Methods > BuildSnippet Method > ExpansionBase.BuildSnippet Method (Boolean) |
By Default, truncates all text currently saved in the StringBuilder object - _snippet.
Namespace: ZeraSystems.CodeNanite.Expansion
Assembly: ZeraSystems.CodeNanite.Expansion (in ZeraSystems.CodeNanite.Expansion.dll)
public string BuildSnippet(
bool canClear
)
canClear
Type: Boolean
if set to true [default], truncates existing text, if false, will return currently saved text.
Null, if text is truncated, else returns saved text.
ZeraSystems.CodeNanite.Expansion Namespace