Method RegisterCode
RegisterCode(string, string, ProjectId)
When implemented by a class, makes types declared in given source file accessible for code analysis.
bool RegisterCode(string fileName, string text, ProjectId projectId = null)
Parameters
fileName
stringFile name of the source code.
text
stringThe source text.
projectId
ProjectIdSpecifies project to add a file to.
Returns
- bool
True if text was successfully added.