Metodo ITypeProvider.ApplyStaticArguments (F#)

Applica argomenti statici a un tipo fornito che accetta argomenti statici.

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

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

// Signature:
abstract this.ApplyStaticArguments : Type * string * obj [] -> Type

// Usage:
iTypeProvider.ApplyStaticArguments (typeWithoutArguments, typeNameWithArguments, staticArguments)

Parametri

  • typeWithoutArguments
    Tipo: Type

    Un tipo a cui applicare gli argomenti statici.

  • typeNameWithArguments
    Tipo: string

    Il nome modificato del tipo dopo inclusi parametri statici.Il nome modificato viene derivato dal nome del tipo di base aggiungendo un apice inverso (`) e un numero che indica il numero di argomenti statici.

  • staticArguments
    Tipo: obj[]

    i parametri statici, indicizzati per nome.

Valore restituito

Il tipo risultante con gli argomenti applicati statici.

Note

Il provider deve restituire un tipo con il nome modificato specificato.

Piattaforme

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

Informazioni sulla versione

Versioni della libreria di base F#

Supportato in: 4.0Supported in: 4,0, portabile

Vedere anche

Riferimenti

Interfaccia CompilerServices.ITypeProvider (F#)

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