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