[http://www.anisaty.com/vb/ منتدى انستي]
[http://www.anisaty.com/vb/t71806.html العاب باربي الصينية]
[http://www.anisaty.com/vb/t71783.html العاب باربي]
[http://www.anisaty.com/vb/t71821 العاب تلبيس باربي الدلوعه]
[http://www.anisaty.com/vb/f8/ منتديات عالم حواء]
[http://www.anisaty.com/vb/f9/ ازيا
Re: [Ironruby-core] Calling .Net generic method with Ruby object
Orion Edwards
Wed, 18 Jul 2012 13:59:01 -0700
The .NET method can't accept normal IronRuby objects, because of the
new()
constraint.
IronRuby objects behind the scenes are all instances of A .NET class
called RubyObject - yo
+64 7 838 9801 |
EMAIL orion.edwa...@gallagher.co | WEB www.gallagher.co
From: Alexander Ranger
To: ironruby-core@rubyforge.org
Date: 18/07/2012 06:23 p.m.
Subject:[Ironruby-core] Calling .Net generic method with Ruby
object
Sent by:ironruby-core-boun...@rubyfor
Hello. I've got this problem:
I'm having a .Net method with generics like this:
void Store(T obj) where T : class, new();
And I'm trying to call it from IronRuby project with Ruby object as an
argument.
comp = Computer.new
session.method(:Store).of(Computer).call(comp)
#session is another user