hmemcpy / AgentMulder

** THIS PLUGIN IS NO LONGER MAINTAINED. PLEASE FOLLOW ERNICOMMUNITY FOR UPDATES **
https://github.com/ERNICommunity/AgentMulder
MIT License
151 stars 33 forks source link

Warn about Binding that are not used #7

Open magol opened 12 years ago

hmemcpy commented 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?

magol commented 12 years ago

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.

hmemcpy commented 12 years ago

Very nice :) I'll put that in the todo pile! Thanks! :)