Table of Contents

Interface ITypeScriptProject

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

Represents properties and methods to manage TypeScript project content.

public interface ITypeScriptProject : ITypeDefinitionsLocator

Properties

HostItemsConfiguration

When implemented by a class, gets or sets TypeScript project host items configuration.

Parser

When implemented by a class, gets a V8Parser used to perform syntax analysis of TypeScript code.

Methods

RegisterCodeFiles(string[])

When implemented by a class, makes types declared in given source files accessible for parsing.

RegisterDefaultAssemblies(TechnologyEnvironment)

When implemented by a class, adds default system assemblies to be used for Code completion.

ReplaceCodeFile(string, string)

When implemented by a class, updates document stored in the project with the changed content of the source file.

Reset()

When implemented by a class, resets content of TypeScript project to its default value.

UnregisterCodeFiles(string[])

When implemented by a class, removes types declared in given source files from being accessible for parsing.