Class SilverbackBuilderWithConnectionToExtensions
Adds the WithConnectionToMessageBroker
method to the ISilverbackBuilder.
Inheritance
System.Object
SilverbackBuilderWithConnectionToExtensions
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Microsoft.Extensions.DependencyInjection
Assembly: Silverback.Integration.dll
Syntax
public static class SilverbackBuilderWithConnectionToExtensions
Methods
| Improve this doc View sourceWithConnectionToMessageBroker(ISilverbackBuilder, Action<IBrokerOptionsBuilder>)
Registers the types needed to connect with a message broker.
Declaration
public static ISilverbackBuilder WithConnectionToMessageBroker(this ISilverbackBuilder silverbackBuilder, Action<IBrokerOptionsBuilder> optionsAction = null)
Parameters
Type | Name | Description |
---|---|---|
ISilverbackBuilder | silverbackBuilder | The ISilverbackBuilder that references the Microsoft.Extensions.DependencyInjection.IServiceCollection to add the services to. |
System.Action<IBrokerOptionsBuilder> | optionsAction | Additional options such as the actual message brokers to be used. |
Returns
Type | Description |
---|---|
ISilverbackBuilder | The ISilverbackBuilder so that additional calls can be chained. |