Custom Attribute and visibility of the object it is attached to
Posted on 2008-10-21
If I create a custom attribute how can I access the Property it wraps. So basically the scope of the attribute I am crating is only for properties but I assume that the answer to this will probably answer how a method or class attribute can get access to the method or class IT wraps.
So if I have a property called MyProperty and a custom attribute called MyAttribute. How can MyAttribute see the property MyProperty.