[Ironruby-core] data binding in Silverlight 4

Brian Genisio briangenisio at gmail.com
Tue Sep 28 17:46:29 EDT 2010


My example is in C# using dynamic, but there must be a way to write an
Indexer in Ruby that can interop properly.  If all else failed, you could
write a C# decorator that exposes the Ruby properties dynamically through a
string Indexer.

Good luck!  Let us know what you figure out :)


On Sep 28, 2010 5:31 PM, "Christopher Bennage" <
christopher at bluespireconsulting.com> wrote:
> Here's some interesting background about what's happened with IronPython:
> http://devhawk.net/CategoryView,category,__clrtype__.aspx
> I'm still reading through it all, but note in particular the post from
> 24, 2009:
> http://devhawk.net/2009/04/20/Introducing+Clrtype+Metaclasses.aspx
> My guess is that concept of __clrtype__ never made it over into IronRuby..
> Brian, regarding your string indexer idea. I assume that you mean to
> implement the indexer on a C# class and then inherit from that in ruby?
> idea has some merit, I'll look into it.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://rubyforge.org/pipermail/ironruby-core/attachments/20100928/dff6b3f9/attachment.html>

More information about the Ironruby-core mailing list