Show / Hide Table of Contents

    Class SilverbackContextConsumerPipelineContextExtensions

    Adds the GetConsumerPipelineContext(ISilverbackContext) method to the ISilverbackContext.

    Inheritance
    object
    SilverbackContextConsumerPipelineContextExtensions
    Inherited Members
    object.GetType()
    object.MemberwiseClone()
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    Namespace: Silverback.Messaging.Consuming.Transaction
    Assembly: Silverback.Integration.dll
    Syntax
    public static class SilverbackContextConsumerPipelineContextExtensions

    Methods

    GetConsumerPipelineContext(ISilverbackContext)

    Gets the current ConsumerPipelineContext.

    Declaration
    public static ConsumerPipelineContext GetConsumerPipelineContext(this ISilverbackContext context)
    Parameters
    Type Name Description
    ISilverbackContext context

    The ISilverbackContext.

    Returns
    Type Description
    ConsumerPipelineContext

    The ConsumerPipelineContext.

    TryGetConsumerPipelineContext(ISilverbackContext, out ConsumerPipelineContext?)

    Checks whether a ConsumerPipelineContext is set and returns it.

    Declaration
    public static bool TryGetConsumerPipelineContext(this ISilverbackContext context, out ConsumerPipelineContext? pipelineContext)
    Parameters
    Type Name Description
    ISilverbackContext context

    The ISilverbackContext.

    ConsumerPipelineContext pipelineContext

    The ConsumerPipelineContext.

    Returns
    Type Description
    bool

    A value indicating whether the ConsumerPipelineContext was found.

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