Table of Contents

Method RegisterCodeText

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

RegisterCodeText(string, string, ProjectId)

Makes types declared in given source file accessible for code analysis.

public void RegisterCodeText(string fileName, string text, ProjectId projectId = null)

Parameters

fileName string

File name of the source code.

text string
projectId ProjectId

Specifies project to add a file to.