开发者

make castle widsor not load all modules

开发者 https://www.devze.com 2023-04-09 18:42 出处:网络
I am using castle windsor to dynamically load some modules. is it possible to ask castle widsor to not 开发者_开发技巧load a specific module? I want to instantiate that module manually and then add it

I am using castle windsor to dynamically load some modules. is it possible to ask castle widsor to not 开发者_开发技巧load a specific module? I want to instantiate that module manually and then add it to the list of modules


Based on the comment (I think you meant components, not modules?) you can use IHandlersFilter in Windsor 3. See this blogpost for details.

0

精彩评论

暂无评论...
验证码 换一张
取 消