【发布时间】:2010-12-27 20:24:29
【问题描述】:
我正在使用 StructureMap 通过实例调用来丰富我的一些对象
ProxyGenerator.CreateInterfaceProxyWithTarget(myObject, MYInterceptor)
目前我的容器中有MYInterceptor,我应该为拦截器实现任何类型的缓存吗?
第二个问题我应该在我的容器中注册我的ProxyGenerator,如果是,我应该对其应用任何类型的缓存吗?
【问题讨论】:
标签: c# inversion-of-control structuremap castle-dynamicproxy