Re: [IronPython] Using a C# class in IronPython

2010-02-24 Thread David DiCato
] Using a C# class in IronPython Hi Justin, this is definitely a valid bug; thanks for reporting it. We’re supposed to ignore any methods named GetMember/SetMember/DeleteMember unless they define the [SpecialName] attribute, but we fail to account for cases where there could be overloads. This

Re: [IronPython] Using a C# class in IronPython

2010-02-19 Thread David DiCato
users-boun...@lists.ironpython.com [mailto:users-boun...@lists.ironpython.com] On Behalf Of Justin Hartman Sent: Friday, February 19, 2010 11:09 AM To: Discussion of IronPython Subject: Re: [IronPython] Using a C# class in IronPython Thanks, Mark. That's all really good stuff, and essentially we are already

Re: [IronPython] Using a C# class in IronPython

2010-02-19 Thread Justin Hartman
Thanks, Mark. That's all really good stuff, and essentially we are already doing the same things in our app. Where the problem comes in for me (I've narrowed it down a little bit) is that the IronPython binding code looks for a method called "SetMember" when I attempt to set an attribute. My class

Re: [IronPython] Using a C# class in IronPython

2010-02-17 Thread Mark Grice
I'm not sure if this helps, but I use a C# class in my IronPython, and it works fine. Class is defined using the shorthand get; set; ie: public class ScreenTags { public String appWindowName { get; set; } public String fieldName { get; set; } public bool isDataField {

[IronPython] Using a C# class in IronPython

2010-02-16 Thread Justin Hartman
Hi all, I've been using IronPython (and IronRuby) for about a year for a project at work, and I'm thrilled with them both! I encountered something strange today and was hoping someone could shed some light on it. I was attempting to set a property on an instance of a class which is defined in C#,