I have done a quite few interesting things with reflection. Now I'm wondering, is it possible to add a code to an auto property (propName { get; set; }
) with reflection?
I mean can I get a PropertyInfo
and change the code of the getter or the setter?
Is it possible? How can I do it? Or what the key words to I google this (I'm asking because everything that I found is about how get or set a property with reflection not alter the getter and the setter).
Aucun commentaire:
Enregistrer un commentaire