Partager via


FSharpFunc.InvokeFast<'T,'U,'V,'W,'X>, méthode (F#)

Appelle une valeur de fonction de première classe F# avec quatre arguments curryfiés. Dans certains cas, ceci se traduira par une application plus efficace que l'application des arguments de manière successive.

Espace de noms/Chemin du module : Microsoft.FSharp.Core

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

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

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

Paramètres

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

    Fonction d'entrée.

  • arg1
    Type : 'T

    Premier arg.

  • arg2
    Type : 'U

    Deuxième arg.

  • arg3
    Type : 'V

    Troisième arg.

  • arg4
    Type : 'W

    Quatrième arg.

Valeur de retour

Résultat de la fonction.

Plateformes

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

Informations de version

Runtime F#

Pris en charge dans : 2.0, 4.0

Silverlight

Prise en charge dans : 3

Voir aussi

Référence

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

Microsoft.FSharp.Core, espace de noms (F#)