什么是IOC容器 [英] What is IOC Container

查看:72
本文介绍了什么是IOC容器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好.

我是编程新手,我的问题是.NET中的IOC容器是什么?

Hi all.

I am new in programing and my question is What is IOC Container in .NET?

推荐答案

控制容器的反转...这很短,描述性文章可以为您提供好主意: http://weblogs.asp.net/sfeldman/archive /2008/02/14/understanding-ioc-container.aspx [ http://en.wikipedia.org/wiki/Inversion_of_control [ ^ ].
您最需要证明的是马丁·福勒(Martin Fowler)撰写的关于控制器的更基础的文章: http://www.martinfowler.com/articles/injection.html [ ^ ].

关于该主题的文献很多,您可能需要Google自己浏览一下.

—SA
Inversion of Control Container… This is pretty short and descriptive article can give you a good idea: http://weblogs.asp.net/sfeldman/archive/2008/02/14/understanding-ioc-container.aspx[^]

For Inversion of Control in general, please see: http://en.wikipedia.org/wiki/Inversion_of_control[^].
You most certinly need to see a more fundamental article on Controllers by Martin Fowler: http://www.martinfowler.com/articles/injection.html[^].

There is a huge volume of literature on the topic, you may want to Google and look it through by yourself.

—SA


这篇关于什么是IOC容器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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