Interface IBrokerBehaviorsProvider<TBehavior>
- Namespace
- Silverback.Messaging.Broker.Behaviors
- Assembly
- Silverback.Integration.dll
Provides the IReadOnlyList<T> of IProducerBehavior and IConsumerBehavior to be used in the IProducer and IConsumer pipeline.
public interface IBrokerBehaviorsProvider<out TBehavior> where TBehavior : IBrokerBehavior
Type Parameters
TBehaviorThe type of the behaviors to be provided, either IProducerBehavior or IConsumerBehavior.
Methods
GetBehaviorsList()
Creates a new IReadOnlyList<T> of IProducerBehavior or IConsumerBehavior to be used in the IProducer or IConsumer pipeline.
IReadOnlyList<out TBehavior> GetBehaviorsList()
Returns
- IReadOnlyList<TBehavior>
The ready-to-use Stack<T> of
TBehavior.