«« Next » « Previous
«« Next » « Previous

Link Details

More voters = better DZone links! Login and vote now.
Link 92204 thumbnail

By mswatcher
via codeproject.com
Submitted: Jul 03 2008 / 01:17

Recently I needed a multicast delegate (an event, in other words) that was smart enough to stop calling the delegates in the invocation list when one of the delegates handled the event. In other words, I needed an event chain that stopped once a delegate in the chain indicated that it handled the event. I did some brief searching for this but didn't find anything, which surprises me for two reasons. First, I figured someone would have implemented this, and second, I thought this was implemented in C# 3.0. Perhaps I didn't look hard enough. Regardless, I needed this implementation for C# 2.0 and the .NET 2.0 framework because that's where my code base currently requires.
  • 2
  • 0
  • 50
  • 6

Add your comment


Html tags not supported. Reply is editable for 5 minutes. Use [code lang="java|ruby|sql|css|xml"][/code] to post code snippets.

Voters For This Link (2)



Voters Against This Link (0)