共用方式為


ITypeProvider.GetInvokerExpression 方法 (F#)

由編譯器呼叫,要求運算式樹狀架構取代指定的 MethodBase。

命名空間/模組路徑:Microsoft.FSharp.Core.CompilerServices

組件:FSharp.Core (在 FSharp.Core.dll 中)

// Signature:
abstract this.GetInvokerExpression : MethodBase * ParameterExpression [] -> Expression

// Usage:
iTypeProvider.GetInvokerExpression (syntheticMethodBase, parameters)

參數

  • syntheticMethodBase
    型別:MethodBase

    GetType(s) 呼叫所傳回的型別所指定給編譯器的 MethodBase。

  • parameters
    型別:ParameterExpression[]

    運算式,代表此呼叫的參數。

傳回值

編譯器在指定方法基底位置之運算式樹狀架構。

平台

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

版本資訊

F# 核心程式庫版本

支援版本:在 4.0Supported:4.0,可攜式執行檔 (PE)。

請參閱

參考

CompilerServices.ITypeProvider 介面 (F#)

Microsoft.FSharp.Core.CompilerServices 命名空間 (F#)