Class TsModelBuilder
- Namespace
- Alternet.TsTypedefsGenerator.Core
- Assembly
- Alternet.Common.TypeScript.v9.dll
Creates a script model from CLR classes.
public class TsModelBuilder
- Inheritance
-
TsModelBuilder
Constructors
- TsModelBuilder()
Initializes a new instance of the TsModelBuilder class.
Methods
- Add(Assembly, TypeGenerationAdditionalInfo)
Adds all classes annotated with the TsClassAttribute from an assembly to the model.
- Add(Type, TypeGenerationAdditionalInfo)
Adds type with all referenced classes to the model.
- Add(Type, bool, TypeGenerationAdditionalInfo, Dictionary<Type, TypeConvertor>)
Adds type and optionally referenced classes to the model.
- Add<T>(TypeGenerationAdditionalInfo)
Adds type with all referenced classes to the model.
- Add<T>(bool, TypeGenerationAdditionalInfo)
Adds type and optionally referenced classes to the model.
- Build()
Build the model.