Table of Contents

Method RegisterNamespaces

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

RegisterNamespaces(string[], ProjectId, string)

When implemented by a class, registers global namespaces.

bool RegisterNamespaces(string[] nameSpaces, ProjectId projectId = null, string rootNamespace = null)

Parameters

nameSpaces string[]

List of global namespaces

projectId ProjectId

Specifies project to add namespaces to.

rootNamespace string

Optional root namespace

Returns

bool

True if succeed otherwise false.