unity-container
MVC 3, Unity 2 - Per Request Lifetime Manager
I\'m using the Unity MVC3 code at http://unitymvc3.codeplex.com/to have a NHibernate session per request instance of my IUnitOfWork.[详细]
2023-03-13 11:06 分类:问答Which is better to be used along with Prism4, Unity or MEF as a Dependency Injection Container?
I am working on a large billing application for one the Telecom companies using WPF4, the application contains more than 300 screen, and it will contain more than 17 modules, that is why I choose to f[详细]
2023-03-13 01:11 分类:问答Unity Container singleton based on parameters
is it possible in Microsoft Unity 2.0 container framework to create singletons based on certain parameters.[详细]
2023-03-12 19:47 分类:问答Require dependency per method call from UnityContainer
So in my current code i\'m working on some sort of notification manager. The idea is that my main BL will use this notification manager per method call. Hence there will probably only be one notifica[详细]
2023-03-12 13:10 分类:问答Way to fill collection with Unity
I have two example classes class ClassToResolve { private List<CollectionItem> _coll; public ClassToResolve(List<CollectionItem> coll)[详细]
2023-03-12 11:53 分类:问答Unity container object resolution hierarchy
I have my container configured like following: container = new UnityContainer() .RegisterType<IA, A>()[详细]
2023-03-11 22:55 分类:问答Are child containers supported together with Unity in ver 2.5 of NServiceBus
Are child containers supported together with Unity in ver 2.5 of NServiceBus ? See http://andreasohlund.net/2010/10/12/support-for-child-containers-in-nservicebus/[详细]
2023-03-11 22:35 分类:问答MVVM and Dependency Injection
I am currently learning the MVVM pattern, and the tutorial I am following uses Unity for DI.I haven\'t really used DI in this way before and just wanted clarification of my thoughts on how this speci开[详细]
2023-03-11 09:32 分类:问答Unity: propagate named registration
With Unity (2.0) I register two named interfaces of IFoo, mapped to two different implementations: Container[详细]
2023-03-11 07:09 分类:问答PRISM WPF - Navigation creates new view every time
I\'m using PRISM 4 Navigation API with Unity in WPF. I have a tree-view that initiates a RequestNavigate passing in the selected tree node\'s ID (GUID).[详细]
2023-03-11 05:56 分类:问答