Esempio n. 1
0
 /// <summary>
 /// Unsubscribes a subscription from the <see cref="MessageHub"/>.
 /// </summary>
 /// <param name="token">The token representing the subscription</param>
 public void Unsubscribe(Guid token) => Subscriptions.UnRegister(token);
Esempio n. 2
0
 /// <summary>
 /// Un-Subscribes a subscription from the <see cref="MessageHub"/>.
 /// </summary>
 /// <param name="token">The token representing the subscription</param>
 public void UnSubscribe(Guid token)
 {
     EnsureNotDisposed();
     Subscriptions.UnRegister(token);
 }