Beispiel #1
0
 public static void SendEvent <TMessage, TKey>(this object _, TMessage data, TKey key) where TMessage : Message
 {
     TopicEventManager <TMessage, TKey> .Invoke(data, key);
 }
Beispiel #2
0
 public static void Subscribe <TMessage, TKey>(this object _, Action <TMessage> action, TKey key) where TMessage : Message
 {
     TopicEventManager <TMessage, TKey> .Subscribe(action, key);
 }