Open magol opened 12 years ago
If I understand you correctly, you're proposing a warning when a binding is defined (kernel.Bind<IFoo>().To<Foo>()), but IFoo is never injected?
kernel.Bind<IFoo>().To<Foo>()
That's exactly what I mean :-) Then you can discover whether there is an old bind no longer required. And thereby a class no longer required.
Very nice :) I'll put that in the todo pile! Thanks! :)
If I understand you correctly, you're proposing a warning when a binding is defined (
kernel.Bind<IFoo>().To<Foo>()
), but IFoo is never injected?