Show / Hide Table of Contents

    Class SilverbackBuilderAddMqttEndpointsExtensions

    Adds the AddMqttEndpoints method to the ISilverbackBuilder.

    Inheritance
    object
    SilverbackBuilderAddMqttEndpointsExtensions
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Microsoft.Extensions.DependencyInjection
    Assembly: Silverback.Integration.MQTT.dll
    Syntax
    public static class SilverbackBuilderAddMqttEndpointsExtensions

    Methods

    | Improve this doc View source

    AddMqttEndpoints(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.

    • Improve this doc
    • View source
    GitHub E-Mail
    ↑ Back to top © 2020 Sergio Aquilini