TsClassAttribute class

Configures a class to be included in the script model.

Namespace: TypeLite

Inherits: Attribute

Properties

Name Description
Module Gets or sets name of the module for this class. If it isn't set, the namespace is used.
Name Gets or sets the name of the class in the script model. If it isn't set, the name of the CLR class is used.
TypeId

Methods

Name Description
IsDefaultAttribute
Match

TsClassAttribute.Module property

Gets or sets name of the module for this class. If it isn't set, the namespace is used.

Syntax


TsClassAttribute.Name property

Gets or sets the name of the class in the script model. If it isn't set, the name of the CLR class is used.

Syntax


TsClassAttribute.TypeId property

Syntax


TsClassAttribute.IsDefaultAttribute method

Syntax


TsClassAttribute.Match method

Syntax