Interface ISubscribedMethodsCache
Stores the map of the subscribed methods for each message type.
Namespace: Silverback.Messaging.Subscribers
Assembly: Silverback.Core.dll
Syntax
public interface ISubscribedMethodsCache
Properties
| Improve this doc View sourceHasAnyMessageStreamSubscriber
Gets a value indicating whether there is at least one subscriber that would potentially receive an IMessageStreamEnumerable<TMessage>.
Declaration
bool HasAnyMessageStreamSubscriber { get; }
Property Value
| Type | Description |
|---|---|
| bool |
Methods
| Improve this doc View sourceIsSubscribed(object)
Checks whether the specified message would be handled by any of the registered subscribers.
Declaration
bool IsSubscribed(object message)
Parameters
| Type | Name | Description |
|---|---|---|
| object | message | The message that could be published. |
Returns
| Type | Description |
|---|---|
| bool |
|