>如何从控制器中访问Container实例?
>我必须在我的类中使用Container.Resolve但是如何访问Container实例?
>是单身吗?
>我可以使用新的Container()还是像Funq.StaticContainer这样的链?
>我必须在我的类中使用Container.Resolve但是如何访问Container实例?
>是单身吗?
>我可以使用新的Container()还是像Funq.StaticContainer这样的链?
感谢Mythz @L_502_0@,a)或b)或c).
我将使用Mythz的解决方案,它被我接受,但有关于它的模式(ServiceLocator Pattern),你可以check here for extra info.