Table of Contents

Class JavaScriptLanguageService

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

Represents various methods for JavaScript language service for Form Designer.

public class JavaScriptLanguageService : LanguageService
Inheritance
JavaScriptLanguageService

Constructors

JavaScriptLanguageService(Language)

Initializes a new instance of the JavaScriptLanguageService 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.JavaScriptLanguageService object for the JavScript 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.