I just posted these questions to the forum, then saw Jon lams redirect here

Here are my 3 posts:


How do i unsub from a .net event?

if I attach to an event like:

grid.new_row do |row|
puts row
end

  • how do i unsub from it??

If i am accessing a .net api, how do i pass generic args from ruby?


What is the equivelent of typeof() for getting a type from a .net
type. I am trying to script a testing framework for a windows app. I
would like to get a hold of its service locator and call its:

service = locator.GetService(typeof(Foo))

If i have a handle to the locator in ruby, how do i pass it a .net
type like that?

chris donnan:

How do i unsub from a .net event?

This is not supported today.

If i am accessing a .net api, how do i pass generic args from ruby?

This is also not supported today.

What is the equivelent of typeof() for getting a type from a .net type.
I am trying to script a testing framework for a windows app. I would
like to get a hold of its service locator and call its:

service = locator.GetService(typeof(Foo))

Foo.to_clr_type

Our .NET interop is fairly weak today. Because of our current push to
get the language running in time for RailsConf, all .NET interop work is
being pushed back into June on our schedule.

Thanks,
-John

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs