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.4.0.0 (5.4.0)
Syntax public static string ProduceDotNetTypeName(
Type dotNetType,
bool generateAsNullableType,
string typePattern
)
Public Shared Function ProduceDotNetTypeName (
dotNetType As Type,
generateAsNullableType As Boolean,
typePattern As String
) As String
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:
StringSee Also