[Ironruby-core] .NET Remoting with IronRuby 0.9.2

2009-11-11 Thread Patrick Brown
Hello Has anyone been able to get Remoting to work? I get the following exception when attempting to make a call. I am rather new to IronRuby but believe my code should work, I converted a very simple snippit of working C# code to IronRuby and can't seem to get it to work. I put breakpoints

[Ironruby-core] why use IronRuby

2009-11-11 Thread Patrick Brown
Hello I have been playing with IronRuby 0.9.2 for a week or so and I have to say that it is alot of fun to tinker with, I am having alot of trouble trying to figure out where I would really use this though besides maybe in writing scripts to do little things or to help out with builds. My deve

[Ironruby-core] call an overloaded constructor??

2009-11-12 Thread Patrick Brown
Hi Is there a way for me to call an overloaded constructor?? I want to say date = new DateTime(2009,9,28) using IronRuby 0.9.2. I have been searching quite a bit and haven't seen anything so far. Thank you, Patrick ___ Ironruby-core mailing list

Re: [Ironruby-core] call an overloaded constructor??

2009-11-12 Thread Patrick Brown
System::DateTime underneath > > --- > Met vriendelijke groeten - Best regards - Salutations > Ivan Porto Carrero > Blog: http://flanders.co.nz > Google Wave: portocarrero.i...@googlewave.com > Twitter: http://twitter.com/casualjim > Author of IronRuby in Action (http://manning.com

Re: [Ironruby-core] call an overloaded constructor??

2009-11-13 Thread Patrick Brown
gt; # Prints "b = true" > > Hope it helps, > Shay. > > -- > ---------- > Shay Friedman > Author of IronRuby Unleashed > http://www.IronShay.com <http://www.ironshay.com/> > Follow me: http://twitter.com/ironshay > > > On Fr

[Ironruby-core] IronRuby .Net 4 CTP and dynamic

2009-11-13 Thread Patrick Brown
Hi Should I be able to call out to a C# method with this release that returns a dynamic and access it's return value? public class Modifier { public dynamic Modify(IPropertyPolicyInfo info) { dynamic obj = new ExpandoObject(); obj.Name = info.AccountShortName; obj.Address = new Expando

[Ironruby-core] can't include System

2009-11-20 Thread Patrick Brown
Hello Can anyone see why I can't include System in this little script? If I do I get an exception 'Converter is not a class (TypeError)'. If I skip the include and fully qualify the classes in that namespace this works perfectly. Thanks for your time and ideas, Patrick require 'System, Ve

Re: [Ironruby-core] can't include System

2009-11-20 Thread Patrick Brown
ter.com/casualjim > Author of IronRuby in Action (http://manning.com/carrero) > > > > On Fri, Nov 20, 2009 at 4:39 PM, Patrick Brown > wrote: > >> Hello >> >>Can anyone see why I can't include System in this little script? If I >> do I get an exce

[Ironruby-core] Dispatcher.Invoke

2009-11-24 Thread Patrick Brown
Hello Is it possible to call the Control.Dispatcher.Invoke in IronRuby? I have been digging around and trying various approaches for quite a while and can't quite seem to get it to work. The most simple example I below where I do not even access the parameter fails... any ideas would be great

Re: [Ironruby-core] Dispatcher.Invoke

2009-11-24 Thread Patrick Brown
tter: http://twitter.com/casualjim > Author of IronRuby in Action (http://manning.com/carrero) > > > > On Tue, Nov 24, 2009 at 7:44 PM, Patrick Brown > wrote: > >> Hello >> >>Is it possible to call the Control.Dispatcher.Invoke in IronRuby? I >> have

Re: [Ironruby-core] Dispatcher.Invoke

2009-11-24 Thread Patrick Brown
> Blog: http://flanders.co.nz > Google Wave: portocarrero.i...@googlewave.com > Twitter: http://twitter.com/casualjim > Author of IronRuby in Action (http://manning.com/carrero) > > > > On Tue, Nov 24, 2009 at 7:44 PM, Patrick Brown > wrote: > >> Hello >&g

Re: [Ironruby-core] Dispatcher.Invoke

2009-11-24 Thread Patrick Brown
ave.com > Twitter: http://twitter.com/casualjim > Author of IronRuby in Action (http://manning.com/carrero) > > > > On Tue, Nov 24, 2009 at 8:56 PM, Patrick Brown > wrote: > >> Hi >> >>Thanks for your help, it still seems to be a bit off, I get this >&g

[Ironruby-core] ListViewItem DataTemplate

2009-11-25 Thread Patrick Brown
Hello Has anyone gotten a datatemplate for a ListView under WPF? I created a very simple C# sample and converted it to IronRuby, the C# works perfectly, the IronRuby example displays my class name, the datatemplate didn't load and bind up to the properties as I hoped. C# public class Stat

Re: [Ironruby-core] ListViewItem DataTemplate

2009-11-25 Thread Patrick Brown
textblock.SetValue(TextBlock.StyleProperty, style) textblock.SetBinding(TextBlock.TextProperty, System::Windows::Data::Binding.new("message")) template = DataTemplate.new template.VisualTree = textblock self.statusListView.ItemTemplate = template end On Wed, Nov 25, 2009 a

Re: [Ironruby-core] .NET Remoting with IronRuby 0.9.2

2009-11-27 Thread Patrick Brown
ou find a solution to your problem? > I got exactly the same problem while trying to call .NET remote method. > > thanks > Dong > > > Patrick Brown wrote: > > Hello > > > >Has anyone been able to get Remoting to work? I get the following > > excepti

Re: [Ironruby-core] ListViewItem DataTemplate

2009-11-27 Thread Patrick Brown
lassNames and CONSTANT_VALUES > > in C# stuff is CamelCasedAndNotUnderscored. > > . > --- > Met vriendelijke groeten - Best regards - Salutations > Ivan Porto Carrero > Blog: http://flanders.co.nz > Google Wave: portocarrero.i...@googlewave.com > Twitter: http://twitter.com/ca