温莎城堡注入构造对象的属性 [英] Windsor castle Injecting properties of constructed object

查看:24
本文介绍了温莎城堡注入构造对象的属性的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

一些依赖注入容器使您能够将配置的服务注入到已经构建的对象中.

Some dependency injection containers enable you to inject configured services into an already constructed object.

这是否可以使用 Windsor 实现,同时考虑到目标对象上可能存在的任何服务依赖性?

Can this be achieved using Windsor, whilst taking account of any service dependencies there may be on the target object?

推荐答案

不,不能.

这篇关于温莎城堡注入构造对象的属性的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆