Removing references to a delegate or events (GetInvocationList())

I was going to whip up a whole sample on this, but then I thought:
 
 
This guy already did pretty much what I was going to do! I had a case last week where I was wiring up to some events – but then later, wanted to explicitly unwire them. This is how you do it!
Posted in General, Uncategorized

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Archives
Categories

Enter your email address to follow this blog and receive notifications of new posts by email.

Join 5 other followers

%d bloggers like this: