Click or drag to resize

GeneratorUtilsProduceDotNetTypeName Method (Type, Boolean, String)

Produces a .NET type name for the type specified. If generateAsNullableType is set to true 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.7.0.0 (5.7.0)
Syntax
public static string ProduceDotNetTypeName(
	Type dotNetType,
	bool generateAsNullableType,
	string typePattern
)

Parameters

dotNetType
Type: SystemType
the .net type to produce the name for
generateAsNullableType
Type: SystemBoolean
if set to , the method will look into emiting it as a nullable type using the typepattern
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
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