Daniel Cazzulino's Blog - How to get services from the VS DTE (using System.IServiceProvider)
Note: this entry has moved. VS is heavily based on a component model and container hierarchy of services (yes, that's most probably where System.ComponentModel came from...). Even though there's no …...