ioc-container
Setting up Ninject with the new WCF Web API
So I\'ve been playing around with the latest release of the WCF Web API and decided I wanted to dive into implementing Ninject with it.[详细]
2023-03-03 20:58 分类:问答Castle Windsor proxies, implicit interfaces and WPF Binding
I am attempting to implement a WPF ViewModel using Castle Windsor Dynamic Proxies.The idea is that I want to supply an interface (IPerson below should suffice as an example), a concrete backing class,[详细]
2023-03-03 18:57 分类:问答Unity - ResolveAll by name with condition
I was wondering if it is possible to resolve all dependancies in Unity by some condition on the name that they were registered.[详细]
2023-03-03 13:16 分类:问答Castle Windsor CollectionResolver: Why doesn't it work on Resolve calls?
I\'ve added the CollectionResolver as a sub-resolver of my Windsor kernel, and it will properly inject collections of dependencies on resolved objects. That is, if I have[详细]
2023-03-02 22:54 分类:问答How do i use WindsorInstaller across multiple assemblies for registration
I am using Castle Windsor to handle my Dependency Injection and it has been working great up until now.[详细]
2023-03-02 21:43 分类:问答How to keep track of all the @Autowired stuff while using Spring IoC?
On Spring @Autowired usage question most of the people answer they prefer not using configuration files, if possible. It seems like a good answer at the first glance.[详细]
2023-03-02 16:43 分类:问答Can I get Castle Windsor to complain when I try to Resolve a single component which is multiply registered?
If I register two components for the same service, e.g. container.Register( Component.For<IThing>.ImplementedBy<Thing1>(),[详细]
2023-03-02 01:10 分类:问答Generic repository factory and service composition
In previous question folks helped me to solve repository lifetime problem, now there\'s a question how to make it work nicely in composite service.[详细]
2023-03-01 04:46 分类:问答Autofac: Batch registration of open-generic types
I got an assembly with many concrete types that implement IHandler<TCommand>, such as the following:[详细]
2023-02-28 23:23 分类:问答Return a component instance by key (using Ninject Container)
Is it possible to return a component ins开发者_如何转开发tance by key using Ninject? The equivalent to Castle Windsor is for ex.:[详细]
2023-02-28 21:06 分类:问答
加载中,请稍侯......