Appendix B. Usage guide
The following table lists guidelines for using the techniques demonstrated in chapters 2–10. These should aid you in making decisions as to when to use a particular framework or approach, depending on your architecture and design parameters at hand. Chapter 1 is not included because it is essentially an introductory chapter.
Chapter |
Technique(s) |
Guidelines |
---|---|---|
2 Exploring code and metadata with Reflection | Using the System.Reflection API | Using arbitrary code members (for example, methods, properties, etc.) based on base class definitions or standard naming conventions, composing dynamic code paths at runtime, or executing code based on the existence of metadata |
3 The Text Template Transformation Toolkit | Using the T4 ... |
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.