Chapter 3. The Text Template Transformation Toolkit (T4)
In this chapter
- Thinking of generics as templates
- Introducing T4 and exploring useful T4 examples
- Using T4 inside Visual Studio
Pattern recognition and the beneficial repetition of proven patterns are considered to be excellent qualities in a software developer. Software developers and architects who have great pattern vocabularies are often the best among us. These are the developers who rarely try to reinvent complex solutions from scratch. Instead, they rely on well-known best practices, borrowing from the demonstrated success of others to produce their own great works. Code generation, which is viewed by many as a form of metaprogramming, is typically a key part of their successful ...
Get Metaprogramming in .NET 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.