[IronPython] .NET attributes for methods

Lukas Cenovsky cenovsky at bakalari.cz
Thu Oct 22 19:36:51 CEST 2009


Hi,
I have read all DewHawk blogposts about .Net attributes in IronPython 
via __clrtype__ metaclass 
(http://devhawk.net/CategoryView,category,__clrtype__.aspx). He 
describes how to add attributes to classes but not to methods. Is there 
any example how to add attributes to a method. It looks like method 
generation is necessary (like for getter and setter or in 
http://www.voidspace.org.uk/python/weblog/arch_d7_2007_03_10.shtml#e659) 
but this is kind of deep magic for me...
Thanks.

--
-- Lukáš



More information about the Ironpython-users mailing list