Hi;

I have a custom C# Assembly1 which have interface ISomething and a C# Assembly2 which have class Something, and this class implements the interface like:

public class Something : ISomething { }

Using iirb I try to create an instace of that class but it complains about the class not being defined, I do use iirb as follow:

requiere 'mscorlib'
requiere 'System'

require File.dirname(__FILE__) + '/build/assembly1.dll'
require File.dirname(__FILE__) + '/build/assembly2.dll'

include Assembly1
include Assembly2

@s = Something.new
<-- Here it fails telling me that the class is not defined, but if I remove the code that implements the interface, it just works fine. My guess is that somehow is not resolving the interface, but I'm not sure how can I fix this.

Thanks

Mario Alberto Chávez
http://mario-chavez.blogspot.com/



_______________________________________________
Ironruby-core mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/ironruby-core

Reply via email to