Show / Hide Table of Contents

    Class SilverbackBuilderWithConnectionToExtensions

    Adds the WithConnectionToMessageBroker method to the ISilverbackBuilder.

    Inheritance
    object
    SilverbackBuilderWithConnectionToExtensions
    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.dll
    Syntax
    public static class SilverbackBuilderWithConnectionToExtensions

    Methods

    | Improve this doc View source

    WithConnectionToMessageBroker(ISilverbackBuilder, Action<IBrokerOptionsBuilder>?)

    Registers the types needed to connect with a message broker.

    Declaration
    public static ISilverbackBuilder WithConnectionToMessageBroker(this ISilverbackBuilder silverbackBuilder, Action<IBrokerOptionsBuilder>? optionsAction = null)
    Parameters
    Type Name Description
    ISilverbackBuilder silverbackBuilder

    The ISilverbackBuilder that references the IServiceCollection to add the services to.

    Action<IBrokerOptionsBuilder> optionsAction

    Additional options such as the actual message brokers to be used.

    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