Show / Hide Table of Contents

    Interface ISingleMessageArgumentResolver

    These resolvers are used to handle the single message parameter (the pure message, not wrapped in any enumerable or collection).

    Inherited Members
    IMessageArgumentResolver.GetMessageType(Type)
    IArgumentResolver.CanResolve(Type)
    Namespace: Silverback.Messaging.Subscribers.ArgumentResolvers
    Assembly: Silverback.Core.dll
    Syntax
    public interface ISingleMessageArgumentResolver : IMessageArgumentResolver, IArgumentResolver

    Methods

    | Improve this doc View source

    GetValue(object)

    Returns the message value in a shape that is compatible with the subscribed method.

    Declaration
    object GetValue(object message)
    Parameters
    Type Name Description
    object message

    The message being published.

    Returns
    Type Description
    object

    The actual value to be forwarded to the subscribed method.

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