Unity Application Block 1.0系列(4):方法调用注入(Method Call Injection),资讯 编程技术网站,web技术网站,IT资讯...
基于36个网页-相关网页
Unity是一个轻量级,可扩展的依赖注入容器,支持构造函数,属性和方法调用注入。
Unity is a lightweight, extensible dependency injection container with support for constructor, property, and method call injection.
在IoC设置中,这些方面通常由一个ioc容器处理,比如,该容器通过调用setter方法将这些依赖项注入组件。
In an IoC setup, these aspects are normally handled by an IoC container that injects the dependencies into the component by calling a setter method, for example.
必须对注入的模块上下文调用方法。
应用推荐