Avoiding a large number of custom EventArgs?

Posted by Brian Ortiz on Stack Overflow See other posts from Stack Overflow or by Brian Ortiz
Published on 2010-05-11T23:17:56Z Indexed on 2010/05/11 23:24 UTC
Read the original article Hit count: 339

Filed under:
|
|

The class library I'm refactoring has a large number of events (over 50) each with its own Delegate, even though many have the same arguments. I starting switching them all over to use EventHandler and custom EventArgs but it is proving to be tedious and time consuming.

Is there an easier way to handle a situation like this, when you have a huge number of events?

© Stack Overflow or respective owner

Related posts about c#

Related posts about .NET