go top

构造注入

网络释义

  Constructor injection

构造注入(Constructor Injection)是指在客户类中,设置一个服务类接口类型的数据成员,并以构造函数为注入点,这个构造函数接受一个具体的服务类实例为参数,并将...

基于124个网页-相关网页

短语

构造器注入 constructor injection

构造函数注入 Constructor Injection

构造子注入 Constructor Injection

构造顶部注入井 crestal injection well

构造方法注入 Constructor injection

 更多收起网络短语

有道翻译

构造注入

Construction injection

以上为机器翻译结果,长、整句建议使用 人工翻译 。

双语例句

  • youdao

  • 这个行为在DI世界中称作构造函数注入,因为实例是通过一个构造函数传递的。

    This behavior is referred to in the DI world as constructor injection, because the instance is passed through one of the constructors.

    youdao

  • 构造函数注入利用构造函数判断要返回的具体对象类型。

    Constructor injection USES a constructor to determine what type of concrete object to return.

    youdao

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

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

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