Show / Hide Table of Contents

    Class TombstoneMessageArgumentResolver

    Resolves the parameters declared as ITombstone or ITombstone<TMessage>.

    Inheritance
    object
    TombstoneMessageArgumentResolver
    Implements
    ISingleMessageArgumentResolver
    IMessageArgumentResolver
    IArgumentResolver
    Inherited Members
    object.GetType()
    object.MemberwiseClone()
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    Namespace: Silverback.Messaging.Subscribers.ArgumentResolvers
    Assembly: Silverback.Integration.dll
    Syntax
    public class TombstoneMessageArgumentResolver : ISingleMessageArgumentResolver, IMessageArgumentResolver, IArgumentResolver

    Constructors

    TombstoneMessageArgumentResolver()

    Resolves the parameters declared as ITombstone or ITombstone<TMessage>.

    Declaration
    public TombstoneMessageArgumentResolver()

    Properties

    SkipInvocationIfNull

    Gets a value indicating whether the subscriber invocation should be skipped if the resolved value is null.

    Declaration
    public bool SkipInvocationIfNull { get; }
    Property Value
    Type Description
    bool

    Methods

    CanResolve(Type)

    Returns a boolean value indicating whether this resolver instance can handle the parameter of the specified type.

    Declaration
    public bool CanResolve(Type parameterType)
    Parameters
    Type Name Description
    Type parameterType

    The type of the parameter to be resolved.

    Returns
    Type Description
    bool

    A boolean value indicating whether the specified parameter type can be handled.

    GetMessageType(Type)

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

    Declaration
    public 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.

    GetValue(object?, Type)

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

    Declaration
    public object? GetValue(object? message, Type parameterType)
    Parameters
    Type Name Description
    object message

    The message being published.

    Type parameterType

    The type of the parameter to be resolved.

    Returns
    Type Description
    object

    The actual value to be forwarded to the subscribed method.

    Implements

    ISingleMessageArgumentResolver
    IMessageArgumentResolver
    IArgumentResolver
    GitHub E-Mail
    ↑ Back to top © 2026 Sergio Aquilini