Table of Contents

Class TsCompiler.FileSystemSite

Namespace
Alternet.Common.TypeScript.Compiler
Assembly
Alternet.Common.TypeScript.v9.dll
public class TsCompiler.FileSystemSite : IFileSystemSite, IDisposable
Inheritance
TsCompiler.FileSystemSite
Implements

Constructors

FileSystemSite(string, IReadOnlyList<ITsPreprocessor>, TypeDefinitionsLoader, IScriptFileLoader)

Methods

Dispose()

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

Dispose(bool)
fileExists(string)

Indicates whether a file with the specified name exists.

getCurrentDirectory()

Gets the current working directory.

readAllTextFromFile(string)

Reads all text content from the specified file and returns it.

readDirectory(string, string[], string[], string[], int?)

Gets the file names listing of the specified directory.

writeFile(string, string)

Writes the specified text content into a file with the specified name.