Class OutboxReaderFactory
Builds an IOutboxReader instance according to the provided OutboxSettings.
Implements
Inherited Members
Namespace: Silverback.Messaging.Producing.TransactionalOutbox
Assembly: Silverback.Integration.dll
Syntax
public class OutboxReaderFactory : ExtensibleFactory<IOutboxReader, OutboxSettings>, IOutboxReaderFactory
Constructors
OutboxReaderFactory()
Builds an IOutboxReader instance according to the provided OutboxSettings.
Declaration
public OutboxReaderFactory()
Methods
GetReader(OutboxSettings, IServiceProvider)
Returns an IOutboxReader according to the specified settings.
Declaration
public IOutboxReader GetReader(OutboxSettings settings, IServiceProvider serviceProvider)
Parameters
| Type | Name | Description |
|---|---|---|
| OutboxSettings | settings | The settings that will be used to create the IOutboxReader. |
| IServiceProvider | serviceProvider | The IServiceProvider that can be used to resolve additional services. |
Returns
| Type | Description |
|---|---|
| IOutboxReader | The IOutboxReader. |