Compartilhar via


Core.FuncConvert Class (F#)

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

Namespace/Module Path: Microsoft.FSharp.Core

Assembly: FSharp.Core (in FSharp.Core.dll)

[<AbstractClass>]
[<Sealed>]
type FuncConvert =
 class
  static member FuncFromTupled : ('T1 * 'T2 * 'T3 * 'T4 * 'T5 -> 'U) -> 'T1 -> 'T2 -> 'T3 -> 'T4 -> 'T5 -> 'U
  static member FuncFromTupled : ('T1 * 'T2 * 'T3 * 'T4 -> 'U) -> 'T1 -> 'T2 -> 'T3 -> 'T4 -> 'U
  static member FuncFromTupled : ('T1 * 'T2 * 'T3 -> 'U) -> 'T1 -> 'T2 -> 'T3 -> 'U
  static member FuncFromTupled : ('T1 * 'T2 -> 'U) -> 'T1 -> 'T2 -> 'U
  static member ToFSharpFunc : Converter<'T,'U> -> 'T -> 'U
  static member ToFSharpFunc : Action<'T> -> 'T -> unit
 end

Static Members

Member

Description

FuncFromTupled

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

FuncFromTupled

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

FuncFromTupled

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

FuncFromTupled

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

ToFSharpFunc

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

ToFSharpFunc

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

Platforms

Windows 8, Windows 7, Windows Server 2012, Windows Server 2008 R2

Version Information

F# Core Library Versions

Supported in: 2.0, 4.0, Portable

See Also

Reference

Microsoft.FSharp.Core Namespace (F#)