示例#1
0
 public void Unsubscribe <TMessage, THandler>(string?exchange = null, string?topic = null) where THandler : IMessageHandler <TMessage>
 {
     _subscriptionManager.Unsubscribe <TMessage, THandler>(exchange, topic);
 }
示例#2
0
 public void Unsubscribe <TMessage>(string?channel = null)
 {
     _subscriptionManager.Unsubscribe <TMessage>(channel);
 }