FSharp.Core


FuncConvert Type

Helper functions for converting F# first class function values to and from CLI representations of functions using delegates.

Static members

Static member Description

FuncConvert.FromAction(action)

Full Usage: FuncConvert.FromAction(action)

Parameters:
    action : Action<'T1, 'T2, 'T3, 'T4, 'T5> - The input Action delegate.

Returns: 'T1 -> 'T2 -> 'T3 -> 'T4 -> 'T5 -> unit The F# function.
Modifiers: inline
Type parameters: 'T1, 'T2, 'T3, 'T4, 'T5

Convert the given Action delegate object to an F# function value

action : Action<'T1, 'T2, 'T3, 'T4, 'T5>

The input Action delegate.

Returns: 'T1 -> 'T2 -> 'T3 -> 'T4 -> 'T5 -> unit

The F# function.

FuncConvert.FromAction(action)

Full Usage: FuncConvert.FromAction(action)

Parameters:
    action : Action<'T1, 'T2, 'T3, 'T4> - The input Action delegate.

Returns: 'T1 -> 'T2 -> 'T3 -> 'T4 -> unit The F# function.
Modifiers: inline
Type parameters: 'T1, 'T2, 'T3, 'T4

Convert the given Action delegate object to an F# function value

action : Action<'T1, 'T2, 'T3, 'T4>

The input Action delegate.

Returns: 'T1 -> 'T2 -> 'T3 -> 'T4 -> unit

The F# function.

FuncConvert.FromAction(action)

Full Usage: FuncConvert.FromAction(action)

Parameters:
    action : Action<'T1, 'T2, 'T3> - The input Action delegate.

Returns: 'T1 -> 'T2 -> 'T3 -> unit The F# function.
Modifiers: inline
Type parameters: 'T1, 'T2, 'T3

Convert the given Action delegate object to an F# function value

action : Action<'T1, 'T2, 'T3>

The input Action delegate.

Returns: 'T1 -> 'T2 -> 'T3 -> unit

The F# function.

FuncConvert.FromAction(action)

Full Usage: FuncConvert.FromAction(action)

Parameters:
    action : Action<'T1, 'T2> - The input Action delegate.

Returns: 'T1 -> 'T2 -> unit The F#funcfunction.
Modifiers: inline
Type parameters: 'T1, 'T2

Convert the given Action delegate object to an F# function value

action : Action<'T1, 'T2>

The input Action delegate.

Returns: 'T1 -> 'T2 -> unit

The F#funcfunction.

FuncConvert.FromAction(action)

Full Usage: FuncConvert.FromAction(action)

Parameters:
    action : Action<'T> - The input Action delegate.

Returns: 'T -> unit The F# function.
Modifiers: inline
Type parameters: 'T

Convert the given Action delegate object to an F# function value

action : Action<'T>

The input Action delegate.

Returns: 'T -> unit

The F# function.

FuncConvert.FromAction(action)

Full Usage: FuncConvert.FromAction(action)

Parameters:
    action : Action - The input Action delegate.

Returns: unit -> unit The F# function.
Modifiers: inline

Convert the given Action delegate object to an F# function value

action : Action

The input Action delegate.

Returns: unit -> unit

The F# function.

FuncConvert.FromFunc(func)

Full Usage: FuncConvert.FromFunc(func)

Parameters:
    func : Func<'T1, 'T2, 'T3, 'T4, 'T5, 'U> - The input Func delegate.

Returns: 'T1 -> 'T2 -> 'T3 -> 'T4 -> 'T5 -> 'U The F# function.
Modifiers: inline
Type parameters: 'T1, 'T2, 'T3, 'T4, 'T5, 'U

Convert the given Func delegate object to an F# function value

func : Func<'T1, 'T2, 'T3, 'T4, 'T5, 'U>

The input Func delegate.

Returns: 'T1 -> 'T2 -> 'T3 -> 'T4 -> 'T5 -> 'U

The F# function.

FuncConvert.FromFunc(func)

Full Usage: FuncConvert.FromFunc(func)

Parameters:
    func : Func<'T1, 'T2, 'T3, 'T4, 'U> - The input Func delegate.

Returns: 'T1 -> 'T2 -> 'T3 -> 'T4 -> 'U The F# function.
Modifiers: inline
Type parameters: 'T1, 'T2, 'T3, 'T4, 'U

Convert the given Func delegate object to an F# function value

func : Func<'T1, 'T2, 'T3, 'T4, 'U>

The input Func delegate.

Returns: 'T1 -> 'T2 -> 'T3 -> 'T4 -> 'U

The F# function.

FuncConvert.FromFunc(func)

Full Usage: FuncConvert.FromFunc(func)

Parameters:
    func : Func<'T1, 'T2, 'T3, 'U> - The input Func delegate.

Returns: 'T1 -> 'T2 -> 'T3 -> 'U The F# function.
Modifiers: inline
Type parameters: 'T1, 'T2, 'T3, 'U

Convert the given Func delegate object to an F# function value

func : Func<'T1, 'T2, 'T3, 'U>

The input Func delegate.

Returns: 'T1 -> 'T2 -> 'T3 -> 'U

The F# function.

FuncConvert.FromFunc(func)

Full Usage: FuncConvert.FromFunc(func)

Parameters:
    func : Func<'T1, 'T2, 'U> - The input Func delegate.

Returns: 'T1 -> 'T2 -> 'U The F#funcfunction.
Modifiers: inline
Type parameters: 'T1, 'T2, 'U

Convert the given Func delegate object to an F# function value

func : Func<'T1, 'T2, 'U>

The input Func delegate.

Returns: 'T1 -> 'T2 -> 'U

The F#funcfunction.

FuncConvert.FromFunc(func)

Full Usage: FuncConvert.FromFunc(func)

Parameters:
    func : Func<'T, 'U> - The input Func delegate.

Returns: 'T -> 'U The F# function.
Modifiers: inline
Type parameters: 'T, 'U

Convert the given Func delegate object to an F# function value

func : Func<'T, 'U>

The input Func delegate.

Returns: 'T -> 'U

The F# function.

FuncConvert.FromFunc(func)

Full Usage: FuncConvert.FromFunc(func)

Parameters:
    func : Func<'T> - The input Func delegate.

Returns: unit -> 'T The F# function.
Modifiers: inline
Type parameters: 'T

Convert the given Func delegate object to an F# function value

func : Func<'T>

The input Func delegate.

Returns: unit -> 'T

The F# function.

FuncConvert.FuncFromTupled(func)

Full Usage: FuncConvert.FuncFromTupled(func)

Parameters:
    func : 'T1 * 'T2 * 'T3 * 'T4 * 'T5 -> 'U - The input tupled function.

Returns: 'T1 -> 'T2 -> 'T3 -> 'T4 -> 'T5 -> 'U The output curried function.
Modifiers: inline
Type parameters: 'T1, 'T2, 'T3, 'T4, 'T5, 'U

A utility function to convert function values from tupled to curried form

func : 'T1 * 'T2 * 'T3 * 'T4 * 'T5 -> 'U

The input tupled function.

Returns: 'T1 -> 'T2 -> 'T3 -> 'T4 -> 'T5 -> 'U

The output curried function.

FuncConvert.FuncFromTupled(func)

Full Usage: FuncConvert.FuncFromTupled(func)

Parameters:
    func : 'T1 * 'T2 * 'T3 * 'T4 -> 'U - The input tupled function.

Returns: 'T1 -> 'T2 -> 'T3 -> 'T4 -> 'U The output curried function.
Modifiers: inline
Type parameters: 'T1, 'T2, 'T3, 'T4, 'U

A utility function to convert function values from tupled to curried form

func : 'T1 * 'T2 * 'T3 * 'T4 -> 'U

The input tupled function.

Returns: 'T1 -> 'T2 -> 'T3 -> 'T4 -> 'U

The output curried function.

FuncConvert.FuncFromTupled(func)

Full Usage: FuncConvert.FuncFromTupled(func)

Parameters:
    func : 'T1 * 'T2 * 'T3 -> 'U - The input tupled function.

Returns: 'T1 -> 'T2 -> 'T3 -> 'U The output curried function.
Modifiers: inline
Type parameters: 'T1, 'T2, 'T3, 'U

A utility function to convert function values from tupled to curried form

func : 'T1 * 'T2 * 'T3 -> 'U

The input tupled function.

Returns: 'T1 -> 'T2 -> 'T3 -> 'U

The output curried function.

FuncConvert.FuncFromTupled(func)

Full Usage: FuncConvert.FuncFromTupled(func)

Parameters:
    func : 'T1 * 'T2 -> 'U - The input tupled function.

Returns: 'T1 -> 'T2 -> 'U The output curried function.
Modifiers: inline
Type parameters: 'T1, 'T2, 'U

A utility function to convert function values from tupled to curried form

func : 'T1 * 'T2 -> 'U

The input tupled function.

Returns: 'T1 -> 'T2 -> 'U

The output curried function.

FuncConvert.ToFSharpFunc(converter)

Full Usage: FuncConvert.ToFSharpFunc(converter)

Parameters:
    converter : Converter<'T, 'U> - The input Converter delegate.

Returns: 'T -> 'U The F# function.
Modifiers: inline
Type parameters: 'T, 'U

Convert the given Converter delegate object to an F# function value

converter : Converter<'T, 'U>

The input Converter delegate.

Returns: 'T -> 'U

The F# function.

FuncConvert.ToFSharpFunc(action)

Full Usage: FuncConvert.ToFSharpFunc(action)

Parameters:
    action : Action<'T> - The input Action delegate.

Returns: 'T -> unit The F# function.
Modifiers: inline
Type parameters: 'T

Convert the given Action delegate object to an F# function value

action : Action<'T>

The input Action delegate.

Returns: 'T -> unit

The F# function.