TsModel class

Represents script model of CLR classes.

Namespace: TypeLite

Properties

Name Description
Classes Gets a collection of classes in the model.
Enums Gets a collection of enums in the model
Modules Gets a collection of modules in the module.
References Gets a collection of references to other d.ts files.

Methods

Name Description
RunVisitor Runs specific model visitor.

TsModel.Classes property

Gets a collection of classes in the model.

Syntax


TsModel.Enums property

Gets a collection of enums in the model

Syntax


TsModel.Modules property

Gets a collection of modules in the module.

Syntax


TsModel.References property

Gets a collection of references to other d.ts files.

Syntax


TsModel.RunVisitor method

Runs specific model visitor.

Syntax

Parameters

ITsModelVisitor visitor
The model visitor to run.