public void Process(string payload)
 {
     TopicReceived?.Invoke(this, new TopicReceivedArgs()
     {
         Payload = payload, Topic = Topic
     });
 }
Ejemplo n.º 2
0
 internal void OnTopicReceived(Topic topic)
 => TopicReceived?.Invoke(this, new TopicEventArgs(topic));