摘要:
① IApplicationContext ctx = ContextRegistry.GetContext();运行后配置产生的对象均已创建。 ②要获得配置产生的对象,可以通过 IUser user = ctx.GetObject("user") as IUser的方式,此时user只能调用接口I 阅读全文
posted @ 2018-08-09 19:25 yacbo 阅读(384) 评论(0) 推荐(0)
posted @ 2018-08-09 19:25 yacbo 阅读(384) 评论(0) 推荐(0)
posted @ 2018-08-09 13:52 yacbo 阅读(189) 评论(0) 推荐(0)