Click or drag to resize

GeneratorUtilsProduceDotNetTypeName Method (IFieldElementCore, Project, String)

Produces a .NET type name for the field specified. If the field is nullable and nullable types should be generated according to the settings in the specified field, the pattern is used to produce the type string, otherwise the type name is produced using ToString()

Namespace:  SD.LLBLGen.Pro.GeneratorCore
Assembly:  SD.LLBLGen.Pro.GeneratorCore (in SD.LLBLGen.Pro.GeneratorCore.dll) Version: 5.10.0.0 (5.10.0)
Syntax
public static string ProduceDotNetTypeName(
	IFieldElementCore field,
	Project currentProject,
	string typePattern
)

Parameters

field
Type: SD.LLBLGen.Pro.ApplicationCoreIFieldElementCore
The field.
currentProject
Type: SD.LLBLGen.Pro.ApplicationCore.ProjectClassesProject
The current project.
typePattern
Type: SystemString
The type pattern. This is the pattern to use to emit e.g. Nullable(Of T), where 'T' is the type determined by this method

Return Value

Type: String
Remarks
If the field is a valuetyped field, the name of the valuetype is returned. This method doesn't do any internal - external type conversion so internal spatial types aren't converted to the right external spatial types. For that please use GetDotNetTypeAsString() instead.
See Also