Show / Hide Table of Contents

    Interface IReturnValueHandler

    These types are used to handle the subscribed methods return values (e.g. to republish the returned messages).

    Namespace: Silverback.Messaging.Subscribers.ReturnValueHandlers
    Assembly: Silverback.Core.dll
    Syntax
    public interface IReturnValueHandler

    Methods

    | Improve this doc View source

    CanHandle(object)

    Returns a boolean value indicating whether this handler can handle the specified value.

    Declaration
    bool CanHandle(object returnValue)
    Parameters
    Type Name Description
    object returnValue

    The value to be handled.

    Returns
    Type Description
    bool

    A boolean value indicating whether the value can be handled.

    | Improve this doc View source

    Handle(object)

    Handles the specified return value.

    Declaration
    void Handle(object returnValue)
    Parameters
    Type Name Description
    object returnValue

    The value to be handled.

    | Improve this doc View source

    HandleAsync(object)

    Handles the specified return value.

    Declaration
    Task HandleAsync(object returnValue)
    Parameters
    Type Name Description
    object returnValue

    The value to be handled.

    Returns
    Type Description
    Task

    A Task representing the asynchronous operation.

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