<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-2" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
I have just found that the Silverlight binding does not work with this
version of clrtype and/or IronPython 2.6RC2.<br>
I used DevHawk demo [1] and after I added reference to
Microsoft.Dynamic in clrtypemetaclass.py it worked flawlessly. But when
I switch to your version, no items show in the listbox.<br>
<br>
By the way - I have seen a commit message you have added support for
interfaces - nice! ;-)<br>
<br>
--<br>
-- Lukáš<br>
<br>
[1] <a
 href="http://cid-0d9bc809858885a4.skydrive.live.com/self.aspx/DevHawk%20Content/IronPython%20Stuff/%5E_%5E_clrtype%5E_%5E_/SL%20databinding%20demo.zip">http://cid-0d9bc809858885a4.skydrive.live.com/self.aspx/DevHawk%20Content/IronPython%20Stuff/^_^_clrtype^_^_/SL%20databinding%20demo.zip</a><br>
<br>
Shri Borde wrote:
<blockquote
 cite="mid:8E45365BECA665489F3CB8878A6C1B7D0C7A9BB7@TK5EX14MBXC140.redmond.corp.microsoft.com"
 type="cite">
  <pre wrap="">The following files extend DevHawk's blog and adds support for typed methods with attributes. It will be available as part of the samples released with the 2.6 RTM (over the next month). Do let us know if it works for you. 

Also, I would be curious to know what scenario you need method attributes for (other than DllImport for pinvokes)...

-----Original Message-----
From: <a class="moz-txt-link-abbreviated" href="mailto:users-bounces@lists.ironpython.com">users-bounces@lists.ironpython.com</a> [<a class="moz-txt-link-freetext" href="mailto:users-bounces@lists.ironpython.com">mailto:users-bounces@lists.ironpython.com</a>] On Behalf Of Lukas Cenovsky
Sent: Thursday, October 22, 2009 10:37 AM
To: Discussion of IronPython
Subject: [IronPython] .NET attributes for methods

Hi,
I have read all DewHawk blogposts about .Net attributes in IronPython 
via __clrtype__ metaclass 
(<a class="moz-txt-link-freetext" href="http://devhawk.net/CategoryView,category,__clrtype__.aspx">http://devhawk.net/CategoryView,category,__clrtype__.aspx</a>). 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 
<a class="moz-txt-link-freetext" href="http://www.voidspace.org.uk/python/weblog/arch_d7_2007_03_10.shtml#e659">http://www.voidspace.org.uk/python/weblog/arch_d7_2007_03_10.shtml#e659</a>) 
but this is kind of deep magic for me...
Thanks.

--
-- Lukáš
_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@lists.ironpython.com">Users@lists.ironpython.com</a>
<a class="moz-txt-link-freetext" href="http://lists.ironpython.com/listinfo.cgi/users-ironpython.com">http://lists.ironpython.com/listinfo.cgi/users-ironpython.com</a>

  </pre>
  <pre wrap="">
<hr size="4" width="90%">
_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@lists.ironpython.com">Users@lists.ironpython.com</a>
<a class="moz-txt-link-freetext" href="http://lists.ironpython.com/listinfo.cgi/users-ironpython.com">http://lists.ironpython.com/listinfo.cgi/users-ironpython.com</a>
  </pre>
</blockquote>
<br>
</body>
</html>