Table of Contents

Class OutboxWriterFactory

Namespace
Silverback.Messaging.Producing.TransactionalOutbox
Assembly
Silverback.Integration.dll

Builds an IOutboxWriter instance according to the provided OutboxSettings.

public class OutboxWriterFactory : ExtensibleFactory<IOutboxWriter, OutboxSettings>, IOutboxWriterFactory
Inheritance
OutboxWriterFactory
Implements
Inherited Members

Constructors

OutboxWriterFactory()

public OutboxWriterFactory()

Methods

GetWriter(OutboxSettings, IServiceProvider)

Returns an IOutboxWriter according to the specified settings.

public IOutboxWriter GetWriter(OutboxSettings settings, IServiceProvider serviceProvider)

Parameters

settings OutboxSettings

The settings that will be used to create the IOutboxWriter.

serviceProvider IServiceProvider

The IServiceProvider that can be used to resolve additional services.

Returns

IOutboxWriter

The IOutboxWriter.