阅读背景:

Castle Windsor使用的多个实例取决于

来源:互联网 

I need to have two instances of the same web service, the only difference is the url. I can't seem to find documentation on how to get it to differentiate based on the parameter name in the contructor. Is this possible? I'm trying to use .DependsOn, but I can't seem to get it to work when the Controller constructor instantiates.I need to have two instances of the same web se




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

分享到: