Table of Contents

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 ProjectId

Specifies Project to search for the document.

rootNamespace string

Optional root namespace

Returns

bool

True if succeed otherwise false.