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