Hi guys,
I am using Josh Smith's MVVM Foundation project Messenger class and just had a question regarding unsubscribing messages. At the moment I have multiple ViewModels which register messages as strings for example I have -
ViewModelA - registers for message "A" ViewModelB - registers for message "A"
So the both registered messages have the same string.
My question, what is the best way to unregister a specific message from an instance of a ViewModel when that ViewModel is closed (given that multiple ViewModels can have the same message string).
Cheers,
Tim.