Show / Hide Table of Contents

    Class BrokerBehaviorsProvider<TBehavior>

    Provides the IReadOnlyList<T> of IProducerBehavior and IConsumerBehavior to be used in the IProducer and IConsumer pipeline.

    Inheritance
    object
    BrokerBehaviorsProvider<TBehavior>
    Implements
    IBrokerBehaviorsProvider<TBehavior>
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Silverback.Messaging.Broker.Behaviors
    Assembly: Silverback.Integration.dll
    Syntax
    public class BrokerBehaviorsProvider<TBehavior> : IBrokerBehaviorsProvider<TBehavior> where TBehavior : IBrokerBehavior
    Type Parameters
    Name Description
    TBehavior

    The type of the behaviors to be provided, either IProducerBehavior or IConsumerBehavior.

    Constructors

    | Improve this doc View source

    BrokerBehaviorsProvider(IServiceProvider)

    Initializes a new instance of the BrokerBehaviorsProvider<TBehavior> class.

    Declaration
    public BrokerBehaviorsProvider(IServiceProvider serviceProvider)
    Parameters
    Type Name Description
    IServiceProvider serviceProvider

    The IServiceProvider to be used to resolve the behaviors.

    Methods

    | Improve this doc View source

    GetBehaviorsList()

    Creates a new IReadOnlyList<T> of IProducerBehavior or IConsumerBehavior to be used in the IProducer or IConsumer pipeline.

    Declaration
    public IReadOnlyList<TBehavior> GetBehaviorsList()
    Returns
    Type Description
    IReadOnlyList<TBehavior>

    The ready-to-use Stack<T> of TBehavior.

    Implements

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