What is a nice weak event implementation for Silverlight?

I am after a good implementation of weak event patterns for Silverlight to avoid memory leaks. It seems that there are several implementations, but the code is not trivial, and it is difficult to figure out which one is correct. I can not find an official recommendation from Microsoft.

I may, after a simple syntax.

Greetings.

+5
source share
1 answer

Install the copy of the Silverlight Toolkit that comes with the source code. There you will find a template of weak events, which you can consider in the recommendations of Microsoft. (You can also get the latest source from codeplex ).

, , WeakEventListener Controls.Toolkit.

+4

All Articles