Class SilverbackBuilderAddMqttEndpointsExtensions
Adds the AddMqttEndpoints
method to the ISilverbackBuilder.
Inheritance
System.Object
SilverbackBuilderAddMqttEndpointsExtensions
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
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 Microsoft.Extensions.DependencyInjection.IServiceCollection to add the services to. |
System.Action<IMqttEndpointsConfigurationBuilder> | configureAction | An System.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. |