Table of Contents

Method ProcessSnippetBody

Namespace
Alternet.Syntax.Parsers.Roslyn.CodeCompletion
Assembly
Alternet.Syntax.Parsers.Roslyn.v9.dll

ProcessSnippetBody(string, Point, out string)

Checks whether snippet body code needs inserting.

public virtual bool ProcessSnippetBody(string text, Point position, out string code)

Parameters

text string

Specifies source text.

position Point

Specifies current position in text.

code string

Output parameter to return code fragment to be inserted.

Returns

bool

True if snippet body code needed; otherwise false.