Class SilverbackBuilderAddEndpointsConfiguratorExtensions
Adds the AddEndpointsConfigurator
methods to the ISilverbackBuilder.
Inherited Members
Namespace: Microsoft.Extensions.DependencyInjection
Assembly: Silverback.Integration.dll
Syntax
public static class SilverbackBuilderAddEndpointsConfiguratorExtensions
Methods
| Improve this doc View sourceAddEndpointsConfigurator(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. |
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. |
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. |