Table of Contents

Method ReplaceDocument

Namespace
Alternet.Common.TypeScript.Compiler
Assembly
Alternet.Common.TypeScript.v9.dll

ReplaceDocument(string, string, ScriptKind)

Updates source code document with the text specified.

public void ReplaceDocument(string fileName, string text, ScriptKind scriptKind = ScriptKind.Unknown)

Parameters

fileName string

File name of the document.

text string

New document text.

scriptKind ScriptKind

Defines kind of the document.