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