Show / Hide Table of Contents

    Class BrokerOptionsBuilderAddBrokerExtensions

    Adds the AddBroker method to the IBrokerOptionsBuilder.

    Inheritance
    object
    BrokerOptionsBuilderAddBrokerExtensions
    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 BrokerOptionsBuilderAddBrokerExtensions

    Methods

    | Improve this doc View source

    AddBroker<TBroker>(IBrokerOptionsBuilder)

    Adds the specified IBroker implementation to allow producing and consuming messages.

    Declaration
    public static IBrokerOptionsBuilder AddBroker<TBroker>(this IBrokerOptionsBuilder brokerOptionsBuilder) where TBroker : class, IBroker
    Parameters
    Type Name Description
    IBrokerOptionsBuilder brokerOptionsBuilder

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

    Returns
    Type Description
    IBrokerOptionsBuilder

    The IBrokerOptionsBuilder so that additional calls can be chained.

    Type Parameters
    Name Description
    TBroker

    The type of the IBroker implementation to add.

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