C# Attribute.isDefined() example?
Posted
by UpTheCreek
on Stack Overflow
See other posts from Stack Overflow
or by UpTheCreek
Published on 2010-06-11T19:55:47Z
Indexed on
2010/06/11
20:02 UTC
Read the original article
Hit count: 137
Can someone please give me an example of using Attribute.isDefined() to check if a particular custom attribute has been applied to a given class?
I've checked msdn, but only see possiblities for attributes applied to assemblies, members etc. I'm also open to alternative methods for achieving the same thing!
© Stack Overflow or respective owner