配置统一容器

编程入门 行业动态 更新时间:2024-10-28 12:29:19
本文介绍了配置统一容器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

我需要使用统一容器实现控制概念的反转。注册对象的方式和位置如何?

I need to implement Inversion of Control Concept with unity container.How and where to register the objects?

推荐答案

你已经在 www.codeproject/Messages/4726345/Inversion-of-control.aspx [ ^ ]。请不要重新发布同样的问题;编辑原文。当你这样做时,请提供你正在尝试做什么以及你看到的问题的正确细节。 You already posted something about this at www.codeproject/Messages/4726345/Inversion-of-control.aspx[^]. Please do not repost the same question; edit your original. And while you are doing that please provide proper details about what you are trying to do and what problems you are seeing.

参考 将依赖注入模式和Unity容器与服务定位器一起使用 [ ^ www.c-sharpcorner/UploadFile/akkiraju/dependency-injection-techniques-explained-using-structurem/ [ ^ ] 希望这有助于...... Refer Using the Dependency Injection Pattern and Unity Containers with a Service Locator[^ www.c-sharpcorner/UploadFile/akkiraju/dependency-injection-techniques-explained-using-structurem/[^] Hope this helps...

更多推荐

配置统一容器

本文发布于:2023-06-10 18:34:08,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/616451.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:容器

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!