示例#1
0
 private void Test(Mymessage test)
 {
     Console.WriteLine(test.ToString());
     Debug.WriteLine(test.ToString());
     eventAggregator.UnSbscribe(myMessageToken);
 }
示例#2
0
 public void PublishMessage(Mymessage mymessage)
 {
     EventAggregator.Publish(mymessage);
     //EventAggregator.Publish(10);k
 }