您的位置:首页 > 移动开发

spring.net 框架分析(二)IApplicationContext

2012-03-16 13:29 302 查看
using System;
using Spring.Core.IO;
using Spring.Context.Support;
using Spring.Context;
namespace HelloWorld
{
class Program
{
static void Main(string[] args)
{
IApplicationContext    applicationContext= ContextRegistry.GetContext();
TestClass tc= (TestClass ) applicationContext.GetObject("TCOject");
Console.ReadLine();
}
}
}

http://blog.csdn.net/yangjian15/article/details/4532297
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: