摘要:
另外一篇随笔中已经有在Web中使用Spring.NET的文章了。这篇是在非Web中的应用。相对简单点。我们引入Spring.Core,使用Spring.NET来实现工厂模式。过程如下:a) 添加app.config应用程序配置文件。b) 在app.config中注册spring节点,加入一下配置代码(注意,是在<configuration>与</configuration>之间插入的。):代码 Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighte 阅读全文
posted @ 2010-09-15 11:23
努力偷懒
阅读(836)
评论(0)
推荐(0)