I have an application that consumes LayoutUpdated-events and need to register them weak. Here is the problem, I got stuck on, during implementation of ...
I have an application that consumes LayoutUpdated-events and need to register them weak. Here is the problem, I got stuck on, during implementation of ...
I have long living models with properties displayed using a view. The DataContext on my view is a ViewModel with a short lifespan. Examples include r ...
When I do My OnDisplaySettingsChanged never gets called. However, if I instead use normal event subscribtion via SystemEvents.DisplaySettingsChange ...
I am not able to reproduce the issue (and project is too big to post it here, plus I am not sure what are related parts to post) and I need ideas of w ...
I have following exception An unhandled exception of type 'System.ArgumentException' occurred in WindowsBase.dll Additional information: 'Event' ...
I am trying to get used to WeakEventManager and I stumble with following: The only difference between A and B is static, please ignore copy/pas ...
I'm using the PropertyObserver class in my code to avoid doing string comparisons in PropertyChanged event handling and factor out the handling of nul ...
I have a static class I was using because I didn't like the idea of passing around a gigantic settings file, but then I wished to be able to have inst ...
I don't like off-the-standard pattern, but I was making a quick test on my app, and I bumped against this strange behavior. Consider a normal class e ...
I have been using WeakEventManager to avoid memory leaks, and i started to overuse them. I created extension methods for example for the INotifyProper ...
I am wondering what might be the best way to use the WeakEventManager (4.5 is fine) together with Events offerring DependencyPropertyChangedEventArgs. ...
I am trying to adapt Michael Dudley's sample code for my own implementation of a weak event manager: Example implementation of weak events using .NET ...
I was looking in the framework for an implementation of WeakEventManager that listens for changes to DependencyProperties. I'm a bit confused by the f ...
Is there an example implementation of weak events using .NET's WeakEventManager? I'm trying to implement it by following the "Notes to Inheritors" in ...
When using weak events as described here http://wekempf.spaces.live.com/blog/cns!D18C3EC06EA971CF!373.entry in a Windows.Forms application the WeakEve ...