Show / Hide Table of Contents

    Class SilverbackBuilderAddEndpointsConfiguratorExtensions

    Adds the AddEndpointsConfigurator methods to the ISilverbackBuilder.

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

    Methods

    | Improve this doc View source

    AddEndpointsConfigurator(ISilverbackBuilder, Func<IServiceProvider, IEndpointsConfigurator>)

    Adds an IEndpointsConfigurator to be used to setup the broker endpoints.

    Declaration
    public static ISilverbackBuilder AddEndpointsConfigurator(this ISilverbackBuilder silverbackBuilder, Func<IServiceProvider, IEndpointsConfigurator> implementationFactory)
    Parameters
    Type Name Description
    ISilverbackBuilder silverbackBuilder

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

    Func<IServiceProvider, IEndpointsConfigurator> implementationFactory

    The factory that creates the IEndpointsConfigurator to add.

    Returns
    Type Description
    ISilverbackBuilder

    The ISilverbackBuilder so that additional calls can be chained.

    | Improve this doc View source

    AddEndpointsConfigurator(ISilverbackBuilder, Type)

    Adds an IEndpointsConfigurator to be used to setup the broker endpoints.

    Declaration
    public static ISilverbackBuilder AddEndpointsConfigurator(this ISilverbackBuilder silverbackBuilder, Type configuratorType)
    Parameters
    Type Name Description
    ISilverbackBuilder silverbackBuilder

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

    Type configuratorType

    The type of the IEndpointsConfigurator to add.

    Returns
    Type Description
    ISilverbackBuilder

    The ISilverbackBuilder so that additional calls can be chained.

    | Improve this doc View source

    AddEndpointsConfigurator<TConfigurator>(ISilverbackBuilder)

    Adds an IEndpointsConfigurator to be used to setup the broker endpoints.

    Declaration
    public static ISilverbackBuilder AddEndpointsConfigurator<TConfigurator>(this ISilverbackBuilder silverbackBuilder) where TConfigurator : class, IEndpointsConfigurator
    Parameters
    Type Name Description
    ISilverbackBuilder silverbackBuilder

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

    Returns
    Type Description
    ISilverbackBuilder

    The ISilverbackBuilder so that additional calls can be chained.

    Type Parameters
    Name Description
    TConfigurator

    The type of the IEndpointsConfigurator to add.

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