Is it possible to send a List<Object> in MVVM Light Message
问题 Is it possible to send a List in MVVM Light Message. For example, I have a class named Authors. I want to send Messenger.Default.Send(AuthorList); // AuthorList is of type List<Author> in the constructor of the view model I am writing Messenger.Default.Register<List<Author>>(this, authList => {MessageBox.Show(authList[0].name)}); I have made sure that the constructor is called before I send the message. But it doesn't seem to work. 回答1: Yes . Create your class (I'm using MyTest which has a