Table of Contents

Method GetFormattingEditsImplementation

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

GetFormattingEditsImplementation(string, Func<dynamic>)

Gets list of TextChange between specified document and previous version of the same document.

public IEnumerable<TextChange> GetFormattingEditsImplementation(string fileName, Func<dynamic> action)

Parameters

fileName string

File name containing source code.

action Func<dynamic>

Action implementing code formatting.

Returns

IEnumerable<TextChange>

The set of TextChange representing list of the document changes.