| Member | Description |
member GetFunctionElements : typ:Type -> Type * Type |
Get the domain and range types from an F# function type or from the runtime type of a closure implementing an F# type
|
member
GetRecordFields : typ:Type * ?bindingFlags:BindingFlags -> PropertyInfo [] |
Read all the fields from a record value, in declaration order
Assumes the given input is a record value. If not, ArgumentException is raised.
|
member GetTupleElements : typ:Type -> Type [] |
Get the tuple elements from the representation of an F# tuple type
|
member GetUnionCases : typ:Type * ?bindingFlags:BindingFlags -> UnionCaseInfo [] |
Get the cases of a union type.
Assumes the given type is a union type. If not, ArgumentException is raised during pre-computation.
|
member IsFunction : typ:Type -> bool |
Return true if the typ is a representation of an F# function type or the runtime type of a closure implementing an F# type
|
member IsModule : typ:Type -> bool |
Return true if the typ is a System.Type value corresponding to the compiled form of an F# module
|
member IsRecord : typ:Type * ?bindingFlags:BindingFlags -> bool |
Return true if the typ is a representation of an F# record type
|
member IsTuple : typ:Type -> bool |
Return true if the typ is a representation of an F# tuple type
|
member IsUnion : typ:Type * ?bindingFlags:BindingFlags -> bool |
Return true if the typ is a representation of an F# union type or the runtime type of a value of that type
|
member MakeFunctionType : domain:Type * range:Type -> Type |
Return a System.Type representing the F# function type with the given domain and range
|
member MakeTupleType : typ:Type [] -> Type |
Return a System.Type representing an F# tuple type with the given element types
|