Custom attributes are now supported in Reflexil 1.4. Let's use the following sample code:
Here is the execution result:
Open Reflector & Reflexil then go to the "stub" method, we can see attributes in the "Custom attributes" tab:
Edit the attribute, we can see constructor arguments used :
Then update the first one, an array with enumeration values :
Then a simple string:
Then a simple bool:
Then a type reference:
Ok let's update the attribute:
Save & test.... works !
Note: a search area is now available in the type tree for easier use :
You can download the latest version here: http://reflexil.net
Commentaires