示例#1
0
 public Subscriber(EventAggregator eve)
 {
     eventAggregator = eve;
     eve.Subscribe <Mymessage>(this.Test);
     eve.Subscribe <int>(this.IntTest);
 }