I\'m a complete newbie to ninject
I\'ve been pulling apart someone else\'s code and found several instances of nInject modules - classes that derive from Ninject.Mod
Maybe I'm missing something obvious here, but what is the benefit of this over just creating a plain old class and calling its method, or perhaps a static class with a static method?
Yes, you can just call a bunch of Bind statements to setup the bindings, without a module.
The difference is that if you put these statements in a module then:
IKernel.Load(IEnumerable) can dynamically discover such modules through reflection and load them.IKernel.Unload(string)