Table of Contents

Class TypeScriptLanguageService

Namespace
Alternet.FormDesigner.TypeScript
Assembly
Alternet.FormDesigner.TypeScript.v9.dll

Represents various methods for TypeScript language service for Form Designer.

public class TypeScriptLanguageService : LanguageService
Inheritance
TypeScriptLanguageService

Constructors

TypeScriptLanguageService(Language)

Initializes a new instance of the TypeScriptLanguageService class with specified language.

Methods

CreateCodeProvider(IServiceProvider)

Creates a code provider for the TypeScript language.

CreateEventBindingService(IServiceContainer, IFormDesignerDataSource, Func<NavigateToUserMethodRequestedEventArgs, bool>)

Creates an event binding service for TypeScript language.

CreateParser(IServiceProvider, DesignerReferencedAssemblies, IEnumerable<DesignerAssemblyResources>, DesignerImportedNamespaces, IDesignedComponentAssemblyProvider)

Creates a new instance of the Alternet.FormDesigner.TypeScript.TypeScriptParser with specified parameters.

GetAssemblyResourcesParameters(out string, out string)

Retrieves default resources directory name and project file extension for the TypeScript project.

GetDesignedClassName(string)

Retrieves form class name from the content of specified file.

Init()

Initializes a new Alternet.FormDesigner.TypeScript.TypeScriptLanguageService object for the TypeScript language and adds it to the language services collection.

PreprocessCodeDomBeforeSaving(CodeTypeDeclaration)

Preprocesses CodeDom representation of the form before saving its content.

SaveDifferencesInCode(IFormDesignerDataSource, IFormDesignerLoader, IFormDesignerControl)

Saves changes from the Form Designer to the TypeScript code.