Show / Hide Table of Contents

    Class SilverbackBuilderAddEndpointsExtensions

    Adds the AddEndpoints method to the ISilverbackBuilder.

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

    Methods

    | Improve this doc View source

    AddEndpoints(ISilverbackBuilder, Action<IEndpointsConfigurationBuilder>)

    Adds the broker endpoints.

    Declaration
    public static ISilverbackBuilder AddEndpoints(this ISilverbackBuilder silverbackBuilder, Action<IEndpointsConfigurationBuilder> configureAction)
    Parameters
    Type Name Description
    ISilverbackBuilder silverbackBuilder

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

    Action<IEndpointsConfigurationBuilder> configureAction

    An Action<T> that takes the IEndpointsConfigurationBuilder 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