阅读背景:

指定要使用的Unity IoC容器的构造函数

来源:互联网 

I'm using the Unity IoC container for resolving my objects. However, I've run into an issue. When I have more than one constructor - how does Unity know which one to use? It seems to use the one with parameters when I have one with and one without. Can I explicitly tell it which constructor to use? I'm using the Unity IoC container for resolving




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: