ExpansionBase.BuildSnippet Method (Boolean)

<< >>

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)

Syntax


C#

public string BuildSnippet(
 bool canClear
)

Parameters

canClear

Type: Boolean

if set to true [default], truncates existing text, if false, will return currently saved text.

Return Value

Null, if text is truncated, else returns saved text.

See Also


ExpansionBase Class

BuildSnippet Overload

ZeraSystems.CodeNanite.Expansion Namespace