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