FSharp.TypeProviders.SDK


ProvidedTypeBuilder Type

Helpers to build symbolic provided types

Static members

Static member Description

ProvidedTypeBuilder.MakeGenericMethod(genericMethodDefinition, genericArguments)

Full Usage: ProvidedTypeBuilder.MakeGenericMethod(genericMethodDefinition, genericArguments)

Parameters:
Returns: MethodInfo

Like methodInfo.MakeGenericMethod, but will also work with unit-annotated types and provided types

genericMethodDefinition : MethodInfo
genericArguments : Type list
Returns: MethodInfo

ProvidedTypeBuilder.MakeGenericType(genericTypeDefinition, genericArguments)

Full Usage: ProvidedTypeBuilder.MakeGenericType(genericTypeDefinition, genericArguments)

Parameters:
    genericTypeDefinition : Type
    genericArguments : Type list

Returns: Type

Like typ.MakeGenericType, but will also work with unit-annotated types

genericTypeDefinition : Type
genericArguments : Type list
Returns: Type

ProvidedTypeBuilder.MakeTupleType(types)

Full Usage: ProvidedTypeBuilder.MakeTupleType(types)

Parameters:
Returns: Type

Like FsharpType.MakeTupleType, but will also work with unit-annotated types and provided types

types : Type list
Returns: Type

ProvidedTypeBuilder.MakeTupleType(types, isStruct)

Full Usage: ProvidedTypeBuilder.MakeTupleType(types, isStruct)

Parameters:
    types : Type list
    isStruct : bool

Returns: Type

Like FsharpType.MakeTupleType, but will also work with unit-annotated types and provided types

types : Type list
isStruct : bool
Returns: Type