Arn*_*psa 3 structuremap unity-container
Unity中的StructureMap是否相同:
ServiceLocator.Current.GetAllInstances<IT>
Run Code Online (Sandbox Code Playgroud)
试图遵循这个小模式......
小智 6
ObjectFactory.GetAllInstances();
有关详细信息,请参阅http://structuremap.sourceforge.net/RetrievingServices.htm#section3
| 归档时间: |
|
| 查看次数: |
1707 次 |
| 最近记录: |