FSharpx.Extras


FSharpFunc Type

Conversion functions from Action/Func to FSharpFunc We need these because FuncConvert often makes C# type inference fail.

Static members

Static member Description

FSharpFunc.FromAction(f)

Full Usage: FSharpFunc.FromAction(f)

Parameters:
Returns: 'a -> 'b -> 'c -> unit

Convert an Action into an F# function returning unit

f : Action<'a, 'b, 'c>
Returns: 'a -> 'b -> 'c -> unit

FSharpFunc.FromAction(f)

Full Usage: FSharpFunc.FromAction(f)

Parameters:
Returns: 'a -> 'b -> unit

Convert an Action into an F# function returning unit

f : Action<'a, 'b>
Returns: 'a -> 'b -> unit

FSharpFunc.FromAction(f)

Full Usage: FSharpFunc.FromAction(f)

Parameters:
Returns: 'a -> unit

Convert an Action into an F# function returning unit

f : Action<'a>
Returns: 'a -> unit

FSharpFunc.FromAction(f)

Full Usage: FSharpFunc.FromAction(f)

Parameters:
Returns: unit -> unit

Convert an Action into an F# function returning unit

f : Action
Returns: unit -> unit

FSharpFunc.FromFunc(f)

Full Usage: FSharpFunc.FromFunc(f)

Parameters:
    f : Func<'a, 'b, 'c>

Returns: 'a -> 'b -> 'c

Convert a Func into an F# function

f : Func<'a, 'b, 'c>
Returns: 'a -> 'b -> 'c

FSharpFunc.FromFunc(f)

Full Usage: FSharpFunc.FromFunc(f)

Parameters:
Returns: 'a -> 'b

Convert a Func into an F# function

f : Func<'a, 'b>
Returns: 'a -> 'b

FSharpFunc.FromFunc(f)

Full Usage: FSharpFunc.FromFunc(f)

Parameters:
Returns: unit -> 'a

Convert a Func into an F# function

f : Func<'a>
Returns: unit -> 'a