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!