ExpansionBase.BuildSnippet Method (StringBuilder, String, Int32, Boolean)

<< >>

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)

Syntax


C#

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

Parameters

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].

See Also


ExpansionBase Class

BuildSnippet Overload

ZeraSystems.CodeNanite.Expansion Namespace