Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
在 Unity 中是否有对应于 StructureMap 的等效项:
ServiceLocator.Current.GetAllInstances<IT>
试图遵循这个小模式......
ObjectFactory.GetAllInstances();
有关详细信息,请参阅http://structuremap.sourceforge.net/RetrievingServices.htm#section3