• 我们可以指定契约验证编译(静态)运行时(动态)执行校验。

    Contract validation can be specified to be executed statically at build time or dynamically at runtime.

    youdao

  • 需要常量或是魔力”的很多API是API契约一部分,这些常量或数值并不只是随意添加代码中的(这里的意思指的是很多API中都拥有一些常量或是数值,他们是API契约要求的,因此根据反编译后的结果很难推测出这些常量或数值所代表的含义——译者注)。

    Many APIs that expect explicit constants or 'magic values' are part of an API contract and not merely some value added in to the code.

    youdao

  • 编译根据契约检查代码是否满足了所有条件,并出现状况时发出警告

    The compiler will make specific checks via Contracts to ensure that all the conditions specified are met, issuing warning if they are not.

    youdao

  • 编译根据契约检查代码是否满足了所有条件,并出现状况时发出警告

    The compiler will make specific checks via Contracts to ensure that all the conditions specified are met, issuing warning if they are not.

    youdao

$firstVoiceSent
- 来自原声例句
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定