TsEnumAttribute class

Configures an enum to be included in the script model.

Namespace: TypeLite

Inherits: Attribute

Properties

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

TsEnumAttribute.Module property

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

Syntax


TsEnumAttribute.Name property

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

Syntax


TsEnumAttribute.TypeId property

Syntax