Beispiel #1
0
 public void Handle(Version_4_x.Messages.MyEvent message)
 {
     PubSubVerifier.EventReceivedFrom.Add(message.Sender);
 }
Beispiel #2
0
 public Task Handle(Version_4_x.Messages.MyEvent message, IMessageHandlerContext context)
 {
     PubSubVerifier.EventReceivedFrom.Add(message.Sender);
     return(Task.FromResult(0));
 }