Method RegisterNamespaces
- Namespace
- Alternet.Syntax.Parsers.Roslyn.CodeCompletion
- Assembly
- Alternet.Syntax.Parsers.Roslyn.v9.dll
RegisterNamespaces(string[], ProjectId, string)
Registers global namespaces.
public virtual bool RegisterNamespaces(string[] nameSpaces, ProjectId projectId = null, string rootNamespace = null)
Parameters
nameSpaces
string[]List of global namespaces
projectId
ProjectIdSpecifies Project to search for the document.
rootNamespace
stringOptional root namespace
Returns
- bool
True if succeed otherwise false.