F12 -> Jump to method

Oct 15, 2013 at 1:45 AM
Os there any way to set it up so that f12 see if the interface you are using has an accompanying registration and when you hit f12 goes to the appropriate class?

I find IOC great for testability and maintainability but for day to day code slogging it is easy to get lost.
Oct 15, 2013 at 3:00 AM
You might be able to create a Visual Studio Extension to do something like this but it sounds like it might be tricky to try to determine if an interface is registered with a container (e.g. you could have multiple containers with multiple registrations, was the injected interface the default registration or a named registration?).

Randy Levy
Enterprise Library support engineer
Support How-to