A while back I asked a question found here: Use MVVM Light's Messenger to Pass Values Between View Model
I went to test the answer today and it doesn't appear to be working. My implementation looks as follows:
MessengerInstance.Send(SelectedDocument, Model.StaticEnums.Tokens.SettingstoMain);
And:
MessengerInstance.Register<XDocument>(this, Model.StaticEnums.Tokens.SettingstoMain, settings => CopySettings(settings));
My problem is, this implementation doesn't work. Instead, the arguments for MessengerInstance.Send and MessengerInstance.Register both appear to be strikingly different from the implementation in the answer.
What am I doing wrong here? Is the implementation in the answer to my previous question correct?