Messenger Unregister?

Dec 13, 2010 at 12:46 PM

I'm building my application in some ways like an old MDI application, with multiple "documents" (I call them "executors") projecting different views of the underlying model. With only one of these executors active any time, I find myself wanting to unregister and reregister callbacks as they are dynamically activated and deactivated. Since that makes perfect sense to me, I must be missing something because the Messenger class has only a Register and no Unregister method. Am I thinking about this all wrong?

Coordinator
Dec 13, 2010 at 3:19 PM

My Messenger class does not support that.  It's something I've meant to do for a while now, just haven't gotten around to it. You can either implement it yourself, or use Laurent Bugnion's Messenger from his MVVM Light toolkit. http://mvvmlight.codeplex.com/