Condividi tramite


Metodo FSharpFunc.InvokeFast<'T,'U,'V,'W,'X,'Y> (F#)

Richiama un valore di funzione di prima classe F# con cinque argomenti sottoposti a currying. In alcuni casi ciò produrrà un'applicazione più efficiente rispetto all'applicazione degli argomenti in un secondo momento.

Percorso spazio dei nomi/modulo: Microsoft.FSharp.Core

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

// Signature:
static member InvokeFast : FSharpFunc<'T,('U -> 'V -> 'W -> 'X -> 'Y)> * 'T * 'U * 'V * 'W * 'X -> 'Y

// Usage:
FSharpFunc.InvokeFast (func, arg1, arg2, arg3, arg4, arg5)

Parametri

  • func
    Tipo: FSharpFunc<'T,('U -> 'V ->'W -> 'X -> 'Y)>

    Funzione di input.

  • arg1
    Tipo: 'T

    Primo arg.

  • arg2
    Tipo: 'U

    Secondo argomento.

  • arg3
    Tipo: 'V

    Terzo argomento.

  • arg4
    Tipo: 'W

    Quarto argomento.

  • arg5
    Tipo: 'X

    Quinto argomento.

Valore restituito

Risultato della funzione.

Piattaforme

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

Informazioni sulla versione

F# Runtime

Supportato in: 2.0, 4.0

Silverlight

Supportato in: 3

Vedere anche

Riferimenti

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

Spazio dei nomi Microsoft.FSharp.Core (F#)