TypeScriptFluentModuleMember class
Represents a wrapper around TsModelBuilder and TsGenerator that simplify usage a enables fluent configuration for types.
Namespace: TypeLite
Inherits: TypeScriptFluent
Properties
Name | Description | |
---|---|---|
Member | Gets the class being configured. | |
ModelBuilder |
Methods
Name | Description | |
---|---|---|
Named | Changes the name of the type being configured. | |
ToModule | Maps the type being configured to the specific module |
TypeScriptFluentModuleMember.Member property
Gets the class being configured.
Syntax
TypeScriptFluentModuleMember.ModelBuilder property
Syntax
TypeScriptFluentModuleMember.Named method
Changes the name of the type being configured.
Syntax
Parameters
-
string
name - The new name of the type
Returns
-
TypeScriptFluentModuleMember
- Instance of the TypeScriptFluentModuleMember that enables fluent configuration.
TypeScriptFluentModuleMember.ToModule method
Maps the type being configured to the specific module
Syntax
Parameters
-
string
moduleName - The name of the module
Returns
-
TypeScriptFluentModuleMember
- Instance of the TypeScriptFluentModuleMember that enables fluent configuration.