Table of Contents

Class BehaviorsProvider

Namespace
Silverback.Messaging.Publishing
Assembly
Silverback.Core.dll

Provides the Stack<T> of IBehavior to be used in the IPublisher pipeline.

public class BehaviorsProvider : IBehaviorsProvider
Inheritance
BehaviorsProvider
Implements
Inherited Members

Constructors

BehaviorsProvider(IServiceProvider)

Initializes a new instance of the BehaviorsProvider class.

public BehaviorsProvider(IServiceProvider serviceProvider)

Parameters

serviceProvider IServiceProvider

The IServiceProvider to be used to resolve the required services.

Methods

CreateStack()

Creates a new Stack<T> of IBehavior to be used in the IPublisher pipeline.

public Stack<IBehavior> CreateStack()

Returns

Stack<IBehavior>

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