Merrion
Junior Contributor
I have a custom class that inherits from System.ComponentModel.CategoryAttribute and I want to override the GetLocalizedString function to return a localised category other than the standard ones (Appearance, Behaviour, Data etc.)
Is it possible for an attribute to get the type name of the thing it is applied to? The reason being that the resourcemanager that returns the description and category attribute needs to know which component type it is being called to return the localised string for.
Thanks in advance,
Duncan Jones
Merrion Computing Ltd
http://www.merrioncomputing.com
Is it possible for an attribute to get the type name of the thing it is applied to? The reason being that the resourcemanager that returns the description and category attribute needs to know which component type it is being called to return the localised string for.
Thanks in advance,
Duncan Jones
Merrion Computing Ltd
http://www.merrioncomputing.com