i am trying to refactor my project to improve testability, therefor i\'m introducing an abstract factory.
I am using Castle Windsor to handle my Dependency Injection and it has been working great up until now.
A best practice in DI I\'ve read in a few places is not to inject object B just to get at object C, but to inject C instead.
I\'ve used Ninject with MVC3 for automagic inject of constructor arguments.It worked great. How do you do something similar with non-MVC code.
I have an abstract factory registered for injection in some controller instances. Can I register that abstract factory and use it as an injection factory?
Please consider the following code: type TFoo1 = class public procedure DoSomething1; end; TFoo2 = class private
in my web application developped with GWT, Hibernate ans Spring, I encounter when setting the jobClass bean in the application-context.xml file.
I\'开发者_StackOverflowm trying to get my head around how one would unit test an ASP.NET MVC project that accesses data through a repository of some sort.
I have a Class which represents a graphical Component. This component displays data from the database.
I got an assembly with many concrete types that implement IHandler<TCommand>, such as the following: