Bagikan melalui


Core.FSharpFunc<'T,'U> Class (F#)

The .NET Framework type used to represent F# function values. This type is not typically used directly, though may be used from other .NET Framework languages.

Namespace/Module Path: Microsoft.FSharp.Core

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

[<AbstractClass>]
type FSharpFunc<'T,'U> =
 class
  new FSharpFunc : unit -> FSharpFunc<'T,'U>
  static member FromConverter : Converter<'T,'U> -> 'T -> 'U
  abstract this.Invoke : 'T -> 'U
  static member InvokeFast : FSharpFunc<'T,('U -> 'V)> * 'T * 'U -> 'V
  static member InvokeFast : FSharpFunc<'T,('U -> 'V -> 'W)> * 'T * 'U * 'V -> 'W
  static member InvokeFast : FSharpFunc<'T,('U -> 'V -> 'W -> 'X)> * 'T * 'U * 'V * 'W -> 'X
  static member InvokeFast : FSharpFunc<'T,('U -> 'V -> 'W -> 'X -> 'Y)> * 'T * 'U * 'V * 'W * 'X -> 'Y
  static member ToConverter : ('T -> 'U) -> Converter<'T,'U>
  static member op_Implicit : Converter<'T,'U> -> 'T -> 'U
  static member op_Implicit : ('T -> 'U) -> Converter<'T,'U>
 end

Constructors

Member

Description

new

Construct an instance of an F# first class function value

Instance Members

Member

Description

Invoke

Invoke an F# first class function value with one argument

Static Members

Member

Description

FromConverter

Convert an value of type Converter<TInput, TOutput> to a F# first class function value

InvokeFast

Invoke an F# first class function value with two curried arguments. In some cases this will result in a more efficient application than applying the arguments successively.

InvokeFast

Invoke an F# first class function value with three curried arguments. In some cases this will result in a more efficient application than applying the arguments successively.

InvokeFast

Invoke an F# first class function value with four curried arguments. In some cases this will result in a more efficient application than applying the arguments successively.

InvokeFast

Invoke an F# first class function value with five curried arguments. In some cases this will result in a more efficient application than applying the arguments successively.

op_Implicit

Convert an value of type Converter<TInput, TOutput> to a F# first class function value

ToConverter

Convert an F# first class function value to a value of type Converter<TInput, TOutput>.

Platforms

Windows 7, Windows Vista SP2, Windows XP SP3, Windows XP x64 SP2, Windows Server 2008 R2, Windows Server 2008 SP2, Windows Server 2003 SP2

Version Information

F# Runtime

Supported in: 2.0, 4.0

Silverlight

Supported in: 3

See Also

Reference

Microsoft.FSharp.Core Namespace (F#)