Fungible


StaticReflection

Namespace: Fungible

Nested types and modules

TypeDescription
Transform
TransformDefinition

The definition of an F# cleaner function

TransformFunctionTypeAttribute

Used to tag F# functions with the kind of transform they represent

ModuleDescription
Types

Semi-internal machinery used for figuring out information about input types

Functions and values

Function or valueDescription
compileTransforms transforms
Signature: transforms:seq<Transform> -> 'U -> 'T -> 'T
Type parameters: 'U, 'T

Takes a set of transforms and compiles them into a function that does all of the given transforms to the data tree

GatherAllDataTransforms moduleType
Signature: moduleType:Type -> (TransformFunctionTypeAttribute * MethodInfo) []

Gets all data transforms that are marked with a CleaningFunctionTypeAttribute in the given module

generateTransform (...)
Signature: functionModule:Type -> propertyMap:Map<string list,Type> -> basic:TransformDefinition -> Transform
Type parameters: 'U

Creates a transform out of an F# function as defined in a TransformDefinition

getFunctionFromName (...)
Signature: functionName:string -> functionModule:Type -> MethodInfo

Gets a MethodInfo for a function (as a string) in a given module

getFunctionType mi
Signature: mi:MethodInfo -> TransformFunctionTypeAttribute option

Gets the transform type from a given MethodInfo as given by a TransformFunctionTypeAttribute

Fork me on GitHub