Re: [Ironruby-core] [IronPython] Telling .NET classes from Python objects

2009-04-28 Thread Curt Hagenlocher
ent: Tuesday, April 28, 2009 12:59 PM To: ironruby-core@rubyforge.org Subject: Re: [Ironruby-core] [IronPython] Telling .NET classes from Python objects Bignum I'd consider to be a primitive :) but it would be a ruby type I'm thinking about models / DTO's etc. It's for a databin

Re: [Ironruby-core] [IronPython] Telling .NET classes from Python objects

2009-04-28 Thread Ivan Porto Carrero
Bignum I'd consider to be a primitive :) but it would be a ruby type I'm thinking about models / DTO's etc. It's for a databinding context where you get a list of strings that then need to populate an object. And to pick the right conversion mechanisms I need a different strategy for a DLR type a

Re: [Ironruby-core] [IronPython] Telling .NET classes from Python objects

2009-04-28 Thread Tomas Matousek
- From: ironruby-core-boun...@rubyforge.org [mailto:ironruby-core-boun...@rubyforge.org] On Behalf Of Michael Letterle Sent: Tuesday, April 28, 2009 11:10 AM To: ironruby-core@rubyforge.org Subject: Re: [Ironruby-core] [IronPython] Telling .NET classes from Python objects Class#to_clr_type? Returns

Re: [Ironruby-core] [IronPython] Telling .NET classes from Python objects

2009-04-28 Thread Michael Letterle
Class#to_clr_type? Returns nil for custom Ruby objects... depends on what you're looking for... On Tue, Apr 28, 2009 at 1:38 PM, Ivan Porto Carrero wrote: > +1 for this question only I need it to implement different binding > strategies in IronMVC. > > IronRuby in Action (http://manning.com/carre

Re: [Ironruby-core] [IronPython] Telling .NET classes from Python objects

2009-04-28 Thread Tomas Matousek
Would you consider Bignum to be a .NET type or Ruby type? Tomas From: users-boun...@lists.ironpython.com [mailto:users-boun...@lists.ironpython.com] On Behalf Of Dino Viehland Sent: Tuesday, April 28, 2009 10:41 AM To: Discussion of IronPython; ironruby-core Subject: Re: [IronPython] Telling .NE

Re: [Ironruby-core] [IronPython] Telling .NET classes from Python objects

2009-04-28 Thread Ivan Porto Carrero
+1 for this question only I need it to implement different binding strategies in IronMVC. IronRuby in Action (http://manning.com/carrero) Winston Churchill - "The best argument against democracy is a five-minute conversation wit