TsProperty class
Represents a property of the class in the code model.
Namespace: TypeLite.TsModels
Interfaces: IMemberIdentifier
Properties
Name | Description | |
---|---|---|
ClrProperty | Gets the CLR property represented by this TsProperty. | |
ConstantValue | Gets or sets the constant value of this property. | |
GenericArguments | Gets the GenericArguments for this property. | |
IsIgnored | Gets or sets bool value indicating whether this property will be ignored by TsGenerator. | |
IsOptional | Gets or sets bool value indicating whether this property is optional in TypeScript interface. | |
Name | ||
PropertyType | Gets or sets type of the property. |
TsProperty.ClrProperty property
Gets the CLR property represented by this TsProperty.
Syntax
TsProperty.ConstantValue property
Gets or sets the constant value of this property.
Syntax
TsProperty.GenericArguments property
Gets the GenericArguments for this property.
Syntax
TsProperty.IsIgnored property
Gets or sets bool value indicating whether this property will be ignored by TsGenerator.
Syntax
TsProperty.IsOptional property
Gets or sets bool value indicating whether this property is optional in TypeScript interface.
Syntax
TsProperty.Name property
Syntax
TsProperty.PropertyType property
Gets or sets type of the property.