GeneratorUtilsGetDotNetTypeAsString Method (Type, IGenerator, String, Boolean) |
Returns the string to emit for the .net type specified
Namespace: SD.LLBLGen.Pro.GeneratorCoreAssembly: SD.LLBLGen.Pro.GeneratorCore (in SD.LLBLGen.Pro.GeneratorCore.dll) Version: 5.0.0.0 (5.0.0)
Syntax public static string GetDotNetTypeAsString(
Type typeToEmit,
IGenerator executingGenerator,
string nullableTypeWrapper,
bool wrapInNullableType
)
Public Shared Function GetDotNetTypeAsString (
typeToEmit As Type,
executingGenerator As IGenerator,
nullableTypeWrapper As String,
wrapInNullableType As Boolean
) As String
Parameters
- typeToEmit
- Type: SystemType
The type to emit. - executingGenerator
- Type: SD.LLBLGen.Pro.ApplicationCoreIGenerator
The executing generator. - nullableTypeWrapper
- Type: SystemString
The nullable type wrapper. this is a format string used to wrap the string in a Nullable(Of T)
definition. Done when typeToEmit is a value type and wrapInNullableType is true. Example: "Nullable<{0}>" - wrapInNullableType
- Type: SystemBoolean
if set to true [wrap in nullable type].
Return Value
Type:
StringSee Also