Interface IBrokerOptionsConfigurator<TBroker>
The implementations of this class will be located via assembly scanning and invoked when a broker of
the matching type TBroker
is added to the IServiceCollection
..
Namespace: Microsoft.Extensions.DependencyInjection
Assembly: Silverback.Integration.dll
Syntax
public interface IBrokerOptionsConfigurator<TBroker> where TBroker : IBroker
Type Parameters
Name | Description |
---|---|
TBroker | The type of the IBroker implementation being configured. |
Methods
| Improve this doc View sourceConfigure(IBrokerOptionsBuilder)
Called while registering the broker to configure the broker-specific services and options (e.g. behaviors).
Declaration
void Configure(IBrokerOptionsBuilder brokerOptionsBuilder)
Parameters
Type | Name | Description |
---|---|---|
IBrokerOptionsBuilder | brokerOptionsBuilder | The IBrokerOptionsBuilder that references the IServiceCollection to add the services to. |