Getting a custom attribute [Technical Blog]
Posted: 8 Jun 2009
Updated: 8 Jun 2009
Views: 8,069
Rating: 4.00/5
Votes: 1
Popularity: 0.00
Licence: The Code Project Open License (CPOL)
Bookmarked: 7
Downloaded: 0
Attribute programming has a lot of benefits and, when done correctly, can greatly simplify the amount of code that you need to write. One drawback to using attributes is that the code required to retrieve a custom attribute from a type is a bit cumbersome and is very repetitious. Given a type, the