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