Re: [Ironruby-core] WPF databinding with ruby objects. Workaround :)

2008-12-12 Thread Robert Brotherus
ronruby-core-boun...@rubyforge.org [mailto:ironruby-core-boun...@rubyforge.org] On Behalf Of Joshua Nussbaum Sent: Friday, December 12, 2008 8:56 AM To: ironruby-core@rubyforge.org Subject: [Ironruby-core] WPF databinding with ruby objects. Workaround :) Hey yall Seems IronRuby objects do not yet work wit

[Ironruby-core] WPF databinding with ruby objects. Workaround :)

2008-12-11 Thread Joshua Nussbaum
Hey yall Seems IronRuby objects do not yet work with WPF databinding. One approach to a workaround is to emit a wrapper type that defines CLR properties. When WPF calls the getter/setter the call is forwarded ot the contained contained ruby object. This will allow defining business objects in ruby