Table of Contents

Method ReplaceCodeFile

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

ReplaceCodeFile(string, string, string, string)

Updates code completion with changes in the source file.

public static void ReplaceCodeFile(string extension, string fileName, string text, string projectName = null)

Parameters

extension string

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

fileName string

File name of the source code.

text string

New source text.

projectName string

Project's name to process.