Table of Contents

Class TSProject

Namespace
Alternet.Editor.TypeScript
Assembly
Alternet.Editor.TypeScript.v10.dll

Represents properties and methods used to store and manipulate TypeScript project content.

public class TSProject : Project
Inheritance
TSProject

Properties

AssemblyNames

Gets list of assembly references included in the project.

DefaultExtension

Gets a default extension of the project's code files.

HostAssemblies

Gets list of host assemblies included in the project.

HostAssembliesSearchPaths

Gets list of host assemblies search paths.

Language

Gets or sets programming language of the script.

ProjectExtension

Gets an extension of the this project.

TypeDefinitionsSearchPaths

Gets list of type definition search paths.

Methods

AddHostAssembliesSearchPath(string)
AddHostAssembly(string)

Adds specified reference to the project.

AddTypeDefinitionsSearchPaths(string)
Create(ProjectCreationData, string)

Creates new template project and saves it to the file system.

GetProjectData()

Retrieves content of the TypeScript project.

Load(string)

Loads project from specified source.

Load(string, string)

Loads project from specified source.

MoveFileDown(string)

Moves specified file down one position.

MoveFileUp(string)

Moves specified file down one position.

MoveFileUpOrDown(string, int)
RemoveHostAssembly(string)

Removes specified reference from the project.

Reset()

Resets Project to the default state.

Save()

Saves the project to the file system, if modified.

UpdateHostConfiguration(ITypeScriptProject, HostItemsConfiguration)

Updates HostItemsConfiguration for specified project.