I\'ve recently been trying to learn IoC, and have a couple questions based on the following code:
public class WarriorModule : NinjectModule
{
public
A good IoC container should not change the way interfaces are used:
Ninject allows using interfaces this way using two different concepts:
Conditional bindings: If several classes implement the same interface you have to specify which implementation is used in which case. This is done using conditions:
Bind
Bind
Multiple Interfaces: See my blogpost http://www.planetgeek.ch/2010/12/08/ninject-extension-contextpreservation-explained/