ExpansionBase.BuildSnippet Method (String, Int32, Boolean)

<< >>

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)

Syntax


C#

public void BuildSnippet(
 string text,
 int indent,
 bool noCarriage
)

Parameters

text

Type: String

The text.

indent

Type: Int32

Indentation to use

noCarriage

Type: Boolean

if set to true [no carriage].

See Also


ExpansionBase Class

BuildSnippet Overload

ZeraSystems.CodeNanite.Expansion Namespace