ITypeProvider.GetInvokerExpression 方法 (F#)

由编译器调用以要求表达式树替换给定的 MethodBase。

命名空间/模块路径:Microsoft.FSharp.Core.CompilerServices

程序集:FSharp.Core(在 FSharp.Core.dll 中)

// Signature: abstract this.GetInvokerExpression : MethodBase * Quotations.Expr [] -> Quotations.Expr  // Usage: iTypeProvider.GetInvokerExpression (syntheticMethodBase, parameters)

参数

  • syntheticMethodBase
    类型:MethodBase

    GetType(s) 调用所返回类型提供给编译器的 MethodBase。

  • parameters
    类型:Quotations.Expr []

    表示此调用的参数的表达式。

返回值

编译器将用于代替给定方法基的表达式树。

平台

Windows 8、Windows 7、Windows Server 2012、Windows Server 2008 R2

版本信息

F# 核心库版本

支持版本:4.0 支持版本:4.0,可移植

请参见

参考

CompilerServices.ITypeProvider 接口 (F#)

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