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
stringFile name of the document.
text
stringNew document text.
scriptKind
ScriptKindDefines kind of the document.