Class BrokerOptionsBuilderAddRabbitExtensions
Adds the AddRabbit method to the IBrokerOptionsBuilder.
Inherited Members
Namespace: Microsoft.Extensions.DependencyInjection
Assembly: Silverback.Integration.RabbitMQ.dll
Syntax
public static class BrokerOptionsBuilderAddRabbitExtensions
Methods
| Improve this doc View sourceAddRabbit(IBrokerOptionsBuilder)
Registers RabbitMQ as message broker.
Declaration
public static IBrokerOptionsBuilder AddRabbit(this IBrokerOptionsBuilder brokerOptionsBuilder)
Parameters
| Type | Name | Description |
|---|---|---|
| IBrokerOptionsBuilder | brokerOptionsBuilder | The IBrokerOptionsBuilder that references the IServiceCollection to add the services to. |
Returns
| Type | Description |
|---|---|
| IBrokerOptionsBuilder | The IBrokerOptionsBuilder so that additional calls can be chained. |