Table of Contents

Constructor TsProperty

Namespace
Alternet.TsTypedefsGenerator.Core.TsModels
Assembly
Alternet.Common.TypeScript.v9.dll

TsProperty(PropertyInfo, TypeGenerationAdditionalInfo)

Initializes a new instance of the TsProperty class with the specific CLR property.

public TsProperty(PropertyInfo memberInfo, TypeGenerationAdditionalInfo additionalInfo)

Parameters

memberInfo PropertyInfo

The CLR property represented by this instance of the TsProperty.

additionalInfo TypeGenerationAdditionalInfo

TsProperty(FieldInfo, TypeGenerationAdditionalInfo)

Initializes a new instance of the TsProperty class with the specific CLR field.

public TsProperty(FieldInfo memberInfo, TypeGenerationAdditionalInfo additionalInfo)

Parameters

memberInfo FieldInfo

The CLR field represented by this instance of the TsProperty.

additionalInfo TypeGenerationAdditionalInfo