Class SilverbackBuilderAddMqttEndpointsExtensions
Adds the AddMqttEndpoints method to the ISilverbackBuilder.
Inherited Members
Namespace: Microsoft.Extensions.DependencyInjection
Assembly: Silverback.Integration.MQTT.dll
Syntax
public static class SilverbackBuilderAddMqttEndpointsExtensions
Methods
| Improve this doc View sourceAddMqttEndpoints(ISilverbackBuilder, Action<IMqttEndpointsConfigurationBuilder>)
Adds an IEndpointsConfigurator to be used to setup the broker endpoints.
Declaration
public static ISilverbackBuilder AddMqttEndpoints(this ISilverbackBuilder silverbackBuilder, Action<IMqttEndpointsConfigurationBuilder> configureAction)
Parameters
| Type | Name | Description |
|---|---|---|
| ISilverbackBuilder | silverbackBuilder | The ISilverbackBuilder that references the IServiceCollection to add the services to. |
| Action<IMqttEndpointsConfigurationBuilder> | configureAction | An Action<T> that takes the IMqttEndpointsConfigurationBuilder and adds the outbound and inbound endpoints. |
Returns
| Type | Description |
|---|---|
| ISilverbackBuilder | The ISilverbackBuilder so that additional calls can be chained. |