Class BrokerOptionsBuilderWithConnectionOptionsExtensions
Adds the WithConnectionOptions
method to the IBrokerOptionsBuilder.
Inherited Members
Namespace: Microsoft.Extensions.DependencyInjection
Assembly: Silverback.Integration.dll
Syntax
public static class BrokerOptionsBuilderWithConnectionOptionsExtensions
Methods
| Improve this doc View sourceWithConnectionOptions(IBrokerOptionsBuilder, BrokerConnectionOptions)
Specifies the BrokerConnectionOptions.
Declaration
public static IBrokerOptionsBuilder WithConnectionOptions(this IBrokerOptionsBuilder brokerOptionsBuilder, BrokerConnectionOptions connectionOptions)
Parameters
Type | Name | Description |
---|---|---|
IBrokerOptionsBuilder | brokerOptionsBuilder | The IBrokerOptionsBuilder that references the IServiceCollection to add the services to. |
BrokerConnectionOptions | connectionOptions | The BrokerConnectionOptions to apply. |
Returns
Type | Description |
---|---|
IBrokerOptionsBuilder | The IBrokerOptionsBuilder so that additional calls can be chained. |