找回密码
 立即注册

QQ登录

只需一步,快速开始

shclyx123456
金牌服务用户   /  发表于:2023-4-23 01:22  /   查看:1706  /  回复:5
在Spread.NET V12.0 Update1 中,您可以创建继承自AsyncFunction的自定义计算函数,实现对异步计算的支持,还可以通过各种FunctionAttributes来指示特殊函数的行为,如波动率或返回数组值。请给一个V16版本的AsyncFunction的自定义计算函数的示例.

5 个回复

倒序浏览
Richard.Ma讲师达人认证 悬赏达人认证 SpreadJS 开发认证
超级版主   /  发表于:2023-4-23 09:49:05
沙发
AsyncFunction继承于Function用法也是基本一样的,请参考Function的示例代码

https://www.grapecity.com/spread ... mulacustomfunc.html
回复 使用道具 举报
shclyx123456
金牌服务用户   /  发表于:2023-4-23 18:19:11
板凳
Richard.Ma 发表于 2023-4-23 09:49
AsyncFunction继承于Function用法也是基本一样的,请参考Function的示例代码

https://www.grapecity.com ...

Inherits GrapeCity.CalcEngine.AsyncFunctionAsyncApplication
回复 使用道具 举报
shclyx123456
金牌服务用户   /  发表于:2023-4-23 18:19:51
地板
Inherits GrapeCity.CalcEngine.AsyncFunction 后,要求 实现
回复 使用道具 举报
shclyx123456
金牌服务用户   /  发表于:2023-4-23 18:20:09
5#
        Protected Overrides Function CreateApplicationKey(context As IEvaluationContext, arguments As IArguments) As String
            Throw New NotImplementedException()
        End Function

        Protected Overrides Function CreateApplication(context As IEvaluationContext, arguments As IArguments) As AsyncApplication
            Throw New NotImplementedException()
        End Function
回复 使用道具 举报
Richard.Ma讲师达人认证 悬赏达人认证 SpreadJS 开发认证
超级版主   /  发表于:2023-4-24 12:11:28
6#
这两个方法需要和研发确认一下然后给你答复
回复 使用道具 举报
您需要登录后才可以回帖 登录 | 立即注册
返回顶部