I'm confused about interface abstractions when using IoC
问题 I've recently been trying to learn IoC, and have a couple questions based on the following code: public class WarriorModule : NinjectModule { public override void Load() { Bind<IWeapon>().To<Sword>(); Bind<Samurai>().ToSelf(); } } I'm having trouble grasping the new concept of interfaces. Before I would create an interface such as IRunnable , implementing the function void Run() . With IoC, I'm now viewing an interface as something that only maps to a single concrete class. Assuming that, how