Table of Contents

Class V8Parser.FileSystemSite

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

Provides file system-related functionality required by TypeScript components.

public class V8Parser.FileSystemSite : IFileSystemSite
Inheritance
V8Parser.FileSystemSite
Implements

Constructors

FileSystemSite(TypeDefinitionsLoader)

Initializes a new instance of the FileSystemSite class with specified parameters.

Methods

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.