Show / Hide Table of Contents

    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 source

    HasAnyMessageStreamSubscriber

    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 source

    IsSubscribed(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

    true if at least a subscriber would be invoked for the specified message, otherwise false.

    • Improve this doc
    • View source
    GitHub E-Mail
    ↑ Back to top © 2020 Sergio Aquilini