开发者

Unity Container singleton based on parameters

is it possible in Microsoft Unity 2.0 container framework to create singletons based on certain parameters.

I want to pass parameters to the constructor which is possible but I want the container 开发者_StackOverflow社区to give me a new instance if parameters are new or give me the same instance of parameters are same.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜