在Unity中是否有与此等效的StructureMap:
ServiceLocator.Current.GetAllInstances<IT>尝试遵循this的小模式...
发布于 2009-04-08 17:24:18
ObjectFactory.GetAllInstances();
有关详细信息,请参阅http://structuremap.sourceforge.net/RetrievingServices.htm#section3
https://stackoverflow.com/questions/724551
复制相似问题