Table of Contents

Method UnregisterCode

Namespace
Alternet.Editor.Roslyn
Assembly
Alternet.Editor.Roslyn.v10.dll

UnregisterCode(string, string[], string)

Removes types declared in given source files from being accessible code completion.

public static void UnregisterCode(string extension, string[] files, string projectName = null)

Parameters

extension string

Project's default file extension, like ".cs".

files string[]

Files containing source code.

projectName string

Project's name to process.

UnregisterCode(IScriptEdit, string)

Removes types declared in given source files from being accessible code completion.

public static void UnregisterCode(this IScriptEdit edit, string fileName)

Parameters

edit IScriptEdit

IScriptEdit that contains the source code.

fileName string

File name of the source code.