There is an unsaved comment in progress. You will lose your changes if you continue. Are you sure you want to reopen the work item?
PropertyObserver doing foreach handler invoke N number of times
One of the PropertyObserver feature I like is that by calling RaisePropertyChanged(null) or RaisePropertyChanged(string.Empty) on the source object, it will loop through all the registered handlers and invoke them one-by-one.
But during creation of a unit test for this functionality I found out that the ReceiveWeakEvent() method is called N number of times with null/string.Empty as property name, with N as the number of registered handlers. So the foreach loop will be done N number
of times, which I think is not the intended behavior.
Do you have any idea on how to fix this issue?