public GenericSubscribingComponent(ComponentBus bus)
 {
     bus.Subscribe <TestEventMessage>((sender, e) => ReceiveMessage(e));
 }
Ejemplo n.º 2
0
 public SubscribingComponent(ComponentBus bus)
 {
     bus.Subscribe <TestEventMessage>(ReceiveMessage);
 }
 public SubscribingComponent(ComponentBus bus)
 {
     bus.Subscribe(typeof(TestEventMessage), (sender, e) => ReceiveMessage(e));
 }