Chapter 9. Case Study: Generating a Connection String Manager
In this chapter, I walk through an end-to-end solution for code generation that concentrates on integrating with Visual Studio and working with the CodeElement
objects. The code for this solution is kept purposely simple to avoid involving other tools. (For example, I only make minimal use of the code editor object.) The case study in the next chapter includes a wider range of tools, including the CodeDom.
I’ve also assumed ...
Get Practical Code Generation in .NET: Covering Visual Studio 2005, 2008, and 2010 now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.