摘要:
WCSF中注入的服务最终都是存在OB中, 在View, Presenter和Controller中可用通过[ServiceDependency]修饰来引入使用. 通过分析CompositeWeb的源码, 这里给出一种直接获得当前模块中服务的方法, 当然, 一般项目中的模块都能使用[ServiceDependency]. public static object GetInjectService(T... 阅读全文
posted @ 2009-09-20 18:30
Molby Home
阅读(1048)
评论(1)
推荐(0)
摘要:
可以使用类似Microsoft.Practices.CompositeWeb.Web.UI.Page中的方法: WebClientApplication.BuildItemWithCurrentContext(this); 阅读全文
posted @ 2009-09-20 16:18
Molby Home
阅读(411)
评论(0)
推荐(0)
浙公网安备 33010602011771号