/// <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);
/// <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)); }
/// <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);
/// <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)); }