I'm not sure I understand the scenario. Would you like to declare an event on 
Ruby object that you want to hook from C# code? Like 
rubyEngine.Operations.GetMember(obj, "my_event") += delegate { ...}?

Tomas

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Sean Clark Hess
Sent: Thursday, August 14, 2008 12:04 PM
To: [email protected]
Subject: [Ironruby-core] Events?

Hi all,

Is there a built-in event system for IronRuby?  I know I can handle events with 
button.click { }, but what if I want to dispatch my own, custom events (from a 
class I created myself?).

I wrote my own event system, but I would prefer to use a built-in dispatch 
method if it exists.

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

Reply via email to