TsClass class

Represents a class in the code model.

Namespace: TypeLite.TsModels

Inherits: TsModuleMember

Properties

Name Description
BaseType Gets base type of the class
ClrType
Constants Gets collection of constants of the class.
Fields Gets collection of fields of the class.
GenericArguments Gets collection of GenericArguments for this class
IsIgnored Gets or sets bool value indicating whether this class will be ignored by TsGenerator.
Module
Name
Properties Gets collection of properties of the class.

TsClass.BaseType property

Gets base type of the class

Syntax

Remarks

If the class derives from the object, the BaseType property is null.

TsClass.ClrType property

Syntax


TsClass.Constants property

Gets collection of constants of the class.

Syntax


TsClass.Fields property

Gets collection of fields of the class.

Syntax


TsClass.GenericArguments property

Gets collection of GenericArguments for this class

Syntax


TsClass.IsIgnored property

Gets or sets bool value indicating whether this class will be ignored by TsGenerator.

Syntax


TsClass.Module property

Syntax


TsClass.Name property

Syntax


TsClass.Properties property

Gets collection of properties of the class.

Syntax