Show / Hide Table of Contents

    Interface IMessageArgumentResolver

    These resolvers are used to cast or transform the message parameter to be forwarded to the subscribed method.

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

    Methods

    | Improve this doc View source

    GetMessageType(Type)

    Returns the actual message type in the specified parameter type (e.g. TMessage for a parameter declared as IEnumerable<TMessage>.

    Declaration
    Type GetMessageType(Type parameterType)
    Parameters
    Type Name Description
    Type parameterType

    The type of the parameter to be resolved.

    Returns
    Type Description
    Type

    The actual message type.

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