Skip to content

it3xl/WeakEvent

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

Weak Event .NET

Weak Event pattern implementation.

Did you hear about Event Aggregator?

Have you tried it out?
Yeah... They are mostly messy, greasy, excessive. Sorry I'm cheating. They are wonderful, just don't fire me.

But how about the old plain .NET Framework events?
Now the Weak Events.

How it works:

  1. Add reference (.dll-file) to your project from the Weak Delegate Project.
  2. Use the Custom Event Accessors for your events.
  3. Or see an example here - MyClassWithWeakEvent.cs