FSharpFunc.Adapt<'T1,'T2,'T3,'T4,'T5,'U> 方法 (F#)
将 F# 第一类函数值调整为一个已优化的函数值,该函数值可在不干扰执行的情况下接受五个扩充参数。
命名空间/模块路径: Microsoft.FSharp.Core.OptimizedClosures
程序集:FSharp.Core(在 FSharp.Core.dll 中)
// Signature:
static member FSharpFunc.Adapt : ('T1 -> 'T2 -> 'T3 -> 'T4 -> 'T5 -> 'U) -> FSharpFunc<'T1,'T2,'T3,'T4,'T5,'U>
// Usage:
FSharpFunc.Adapt (func)
参数
func
类型:'T1 -> 'T2 -> 'T3 -> 'T4 -> 'T5 -> 'U输入函数。
返回值
已优化的函数。
平台
Windows 7、Windows Vista SP2、Windows XP SP3、Windows XP x64 SP2、Windows Server 2008 R2、Windows Server 2008 SP2、Windows Server 2003 SP2
版本信息
F# 运行时
受以下版本支持:2.0、4.0
Silverlight
受以下版本支持:3