示例#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);
示例#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));
 }
示例#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);
示例#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));
 }