Declarative Event Handling
Sunday, February 20, 2005
How's that for declarative event handling:
[Handler("WebEditApp.MainForm", "*")]
private static void HandleIt(object sender, EventArgs e){
WebEditApp.Trace(sender + ": " + e);
}
All thanks to having events as languages feature, implemented by delegates, and good reflection capabilities.