【发布时间】:2009-11-20 08:34:51
【问题描述】:
在Using StructureMap 2.5 to scan all assemblies in a folder 中,我们可以看到 StructureMap 使用AssembliesFromPath() 显式查找要解析的类型。 Microsoft Unity 中的等效项是什么?因为 Unity 是一个通用术语,所以在网上搜索这方面的文档并不容易。
更新:Unity 有一个叫做Assembly Matching Rule 的东西,但它的描述并没有告诉我它扫描文件夹。
【问题讨论】:
标签: structuremap unity-container ioc-container