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