I have a custom attribute PackerAttrib
which takes no data, simply marking a field or property, which will be used to mark a property or field of a class inherited from Panel
in order to serialize it later on. How would I take an instance of any object derived from Panel
and get a Directory<string s, object o>
where s is the name of the field or property and o is the current value of said field or property from the instance.
Thank you, don't be afraid to ask me to clarify!