Hi Michael,
Yes, T4 is a very flexible way to support all sorts of solutions.
I have been contemplating about a similar idea ... We use T4 templates to generate both C# or VB.Net partial classes derived from our DockShell DSL Navigation model as demonstrated in this
DockShell introduction video. We discuss T4 generation at the 50 minute
mark of the video (near the end of the video).
If you have any questions or need support with T4 generation please feel free to contact me through our
site.
Cheers
Johnny Larue