Exemple #1
0
 /// <summary>
 /// Clears all the subscriptions from the <see cref="MessageHub"/>.
 /// <remarks>The global handler and the global error handler are not affected</remarks>
 /// </summary>
 public void ClearSubscriptions() => _subscriptions.Clear(false);
Exemple #2
0
 /// <summary>
 /// Clears all the subscriptions from the <see cref="MessageHub"/>.
 /// <remarks>The global handler and the global error handler are not affected</remarks>
 /// </summary>
 public void ClearSubscriptions() => Subscriptions.Clear();
Exemple #3
0
 /// <summary>
 /// Clears all the subscriptions from the <see cref="MessageHub"/>.
 /// <remarks>The global handler and the <see cref="OnError"/> are not affected</remarks>
 /// </summary>
 public void ClearSubscriptions()
 {
     EnsureNotDisposed();
     Subscriptions.Clear();
 }