示例#1
0
 private void subs_EventReceived2(object sender, EventBus.Infrastructure.BusEventArgs <TestEvent> e)
 {
     countEvent.Signal();
     System.Diagnostics.Debug.WriteLine(string.Format("New message received {0}", e.Data.Data));
     Received = true;
     (sender as ISubscriber <TestEvent>).HandleEvent(e.Data);
 }
示例#2
0
 private void subs_EventReceived(object sender, EventBus.Infrastructure.BusEventArgs <TestEvent> e)
 {
     Received = true;
     mre.Set();
     (sender as ISubscriber <TestEvent>).HandleEvent(e.Data);
 }
示例#3
0
 private void subs_EventHandled(object sender, EventBus.Infrastructure.BusEventArgs <TestEvent> e)
 {
     Handled = true;
 }
示例#4
0
 private void subs_EventHandled2(object sender, EventBus.Infrastructure.BusEventArgs <TestEvent> e)
 {
     System.Diagnostics.Debug.WriteLine("New message handled");
 }
示例#5
0
 private void subscriber_EventHandled2(object sender, EventBus.Infrastructure.BusEventArgs <TestEvent> e)
 {
     Handled = true;
     countEvent.Signal();
 }