Class BrokerOptionsBuilderAddBrokerExtensions
Adds the AddBroker
method to the IBrokerOptionsBuilder.
Inheritance
System.Object
BrokerOptionsBuilderAddBrokerExtensions
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 BrokerOptionsBuilderAddBrokerExtensions
Methods
| Improve this doc View sourceAddBroker<TBroker>(IBrokerOptionsBuilder)
Adds the specified IBroker implementation to allow producing and consuming messages.
Declaration
public static IBrokerOptionsBuilder AddBroker<TBroker>(this IBrokerOptionsBuilder brokerOptionsBuilder)
where TBroker : class, IBroker
Parameters
Type | Name | Description |
---|---|---|
IBrokerOptionsBuilder | brokerOptionsBuilder | The IBrokerOptionsBuilder that references the Microsoft.Extensions.DependencyInjection.IServiceCollection to add the services to. |
Returns
Type | Description |
---|---|
IBrokerOptionsBuilder | The IBrokerOptionsBuilder so that additional calls can be chained. |
Type Parameters
Name | Description |
---|---|
TBroker | The type of the IBroker implementation to add. |