Home
Browse all 647 examples
Download all 647 examples
Download sample chapters
Reviews
Errata
Acknowledgments
Links on .NET
Paradoxal Press
Buy directly from Paradoxal Press at $33.99 (Save 43%)
Category: Programming
Level: Beginner to seasoned
900 pages
ISBN-10 097661322-0
ISBN-13 978-097661322-0
$59.99 USA
$79.99 CANADA
|
Chapter 7: Reflection, late binding, attributes
Chapter 6< > Chapter 8
Listings: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
Table of content:
Reflection When do we need reflection? What is new with .NET reflection? Reflecting on assemblies loaded in an AppDomain Obtaining information from metadata
Late binding What does it mean to 'bind with a class'? Early binding and dynamic binding Late binding How to instantiate an unknown class during C# to IL compilation? Harnessing late binds Harness interface: The right way to use late binding
Attributes What is an attribute? When do we need attributes? Things to know about attributes Code elements on which you can apply attributes Some standard attributes of the .NET framework Example of a custom attribute
Conditional attributes
Dynamically building an assembly and using it on the fly Why should we consider building an assembly dynamically? A real-life problem An ideal third solution by creating an assembly dynamically The ability to store the assembly on disk Conclusion
Copyright Patrick Smacchia 2006 2007
|