I had one of those moments yesterday... 682 lines of new code... compiled it, dropped the assembly into my project, and BOOM! it WORKS! the first time! I think that's happened to me.... maybe once before, in my 8 years of professional development.
I'd like to give a big 'ol thank you to the guys at CodeBetter.com for showing me the ways of Agile Development (though I'm not yet doing Test Driven Development) and for the inspiration to travel the path of Inversion Of Control and Dependency Injection... if not for these fine concepts, there's no freakin way I would have had this code working the first time. IoC simplifies your code in a way I never thought possible.
If anyone out there cares, I'm going to be writing up an article on using IHierarchicalDataSource in the next month, to show the code that I'm talking about in this post. There's not enough info on this interface, out there...