• For instance, any class representing a non-empty container would naturally take arguments representing its elements in the constructor.

    例如表示容器任何在构造函数必然使用表示元素参数

    youdao

  • Next, you see an example of constructor injection and how Geronimo's deployment plans define how the container injects code.

    接下来看到构造函数注入示例,以及Geronimo部署计划定义容器注入代码的方式

    youdao

  • OpenEJB will also support constructor injection, which enables the container to provide various classes and objects at run time.

    OpenEJB支持构造器注入从而使得容器可以运行提供各种对象

    youdao

  • Unity is a lightweight, extensible dependency injection container with support for constructor, property, and method call injection.

    Unity一个轻量级可扩展依赖注入容器支持构造函数属性方法调用注入。

    youdao

  • HiveMind users typically prefer setter injection, but the container also supports constructor injection.

    HiveMind用户通常优先选择setter注入容器支持构造函数注入。

    youdao

  • When the constructor of the host is called, the host USES the parent service provider (IServiceProvider) to construct its service container.

    宿主构造函数调用时,宿主使用服务提供程序(IServiceProvider)构建的服务容器。

    youdao

  • The container sees that the constructor requires an IAccountRepository and an ILogger, so it creates those (using the concrete types previously specified) and passes them to the constructor.

    容器看到构造函数需要IAccountRepository一个ILogger实例,因此创建了那些对象(使用先前指定的特定类型通过构造函数传递给AccountTransfer实例。

    youdao

  • The dependency will be injected through the constructor. You instantiate a container.

    依赖关系通过构造函数注入

    youdao

  • The site constructor takes the designer host and the component so that it can establish the component-container relationship shown in Figure 2.

    站点构造函数采用设计器宿主组件以便可以建立2中所组件-容器关系

    youdao

  • Is it considered poor DI practice to include your app container within the constructor of a service?

    被认为是实践包含应用容器服务构造函数

    youdao

  • Each class whose instance will go into the container must implement at least the copy constructor it is good to implement also the assignment operator.

    每个(其实例容器内使用)必须至少实现拷贝构造函数(实现运算符也是习惯)。

    youdao

  • Each class whose instance will go into the container must implement at least the copy constructor it is good to implement also the assignment operator.

    每个(其实例容器内使用)必须至少实现拷贝构造函数(实现运算符也是习惯)。

    youdao

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

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

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