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
settingsOutboxSettingsThe settings that will be used to create the IOutboxWriter.
serviceProviderIServiceProviderThe IServiceProvider that can be used to resolve additional services.