P
Pawe³
Hi!
I want to create my own custom attribute. And want it to be used only to
attribute class that inherrits from System.Windows.Forms.Control. Is it
possible to specify such constraint?.. If it is not possible in
compile-time, maybe I can check it in run-time, but I do not know how to
access atrributed type from Attribute constructor (and maybe throw some
exception).
Grtx
Paul
I want to create my own custom attribute. And want it to be used only to
attribute class that inherrits from System.Windows.Forms.Control. Is it
possible to specify such constraint?.. If it is not possible in
compile-time, maybe I can check it in run-time, but I do not know how to
access atrributed type from Attribute constructor (and maybe throw some
exception).
Grtx
Paul