-
Notifications
You must be signed in to change notification settings - Fork 0
API Host AuroraParamAttribute
Liu.Yandong.Hanks edited this page Aug 27, 2026
·
1 revision
为生成的 Datum 适配器设置单个 Core 参数的强制转换规则。
命名空间:AuroraScript.Hosting。类型:class。
返回 .NET 宿主 API 参考 · MatchLevel
不能与 params 参数同时使用。
public static double SumExactCore(
[AuroraParam(MatchLevel.Exact)] double a,
[AuroraParam(MatchLevel.Exact)] double b)
=> a + b;AuroraParamAttribute(MatchLevel coercion)readonly MatchLevel Coercion
AuroraScript.JIT 4.0.0 · 文档首页 · 仓库 · MIT License