Esempio n. 1
0
 /// <summary>
 /// Checks if a specific subscription is active on the <see cref="MessageHub"/>.
 /// </summary>
 /// <param name="token">The token representing the subscription</param>
 /// <returns><c>True</c> if the subscription is active otherwise <c>False</c></returns>
 public Boolean IsSubscribed(Guid token) => Subscriptions.IsRegistered(token);
Esempio n. 2
0
 /// <summary>
 /// Checks if a specific subscription is active on the <see cref="MessageHub"/>.
 /// </summary>
 /// <param name="token">The token representing the subscription</param>
 /// <returns><c>True</c> if the subscription is active otherwise <c>False</c></returns>
 public bool IsSubscribed(Guid token)
 {
     EnsureNotDisposed();
     return(Subscriptions.IsRegistered(token));
 }
Esempio n. 3
0
 /// <summary>
 /// Checks if a specific subscription is active on the <see cref="MessageHub"/>.
 /// </summary>
 /// <param name="token">The token representing the subscription</param>
 /// <returns><c>True</c> if the subscription is active otherwise <c>False</c></returns>
 public bool IsSubscribed(Guid token) => _subscriptions.IsRegistered(token);
Esempio n. 4
0
 /// <summary>
 /// Checks if a specific subscription is active on the <see cref="MessageHub"/>.
 /// </summary>
 /// <param name="token">The token representing the subscription</param>
 /// <returns><c>True</c> if the subscription is active otherwise <c>False</c></returns>
 public bool IsSubscribed(Guid token)
 {
     return(Subscriptions.IsRegistered(token));
 }