Class ServiceCollectionAddSilverbackExtensions
Adds the AddSilverback
method to the Microsoft.Extensions.DependencyInjection.IServiceCollection.
Inheritance
System.Object
ServiceCollectionAddSilverbackExtensions
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.Core.dll
Syntax
public static class ServiceCollectionAddSilverbackExtensions
Methods
| Improve this doc View sourceAddSilverback(IServiceCollection)
Adds the minimum essential Silverback services to the Microsoft.Extensions.DependencyInjection.IServiceCollection. Additional services including broker support, inbound/outbound connectors and database bindings must be added separately using the returned ISilverbackBuilder.
Declaration
public static ISilverbackBuilder AddSilverback(this IServiceCollection services)
Parameters
Type | Name | Description |
---|---|---|
Microsoft.Extensions.DependencyInjection.IServiceCollection | services | The Microsoft.Extensions.DependencyInjection.IServiceCollection to add the services to. |
Returns
Type | Description |
---|---|
ISilverbackBuilder | The ISilverbackBuilder to add the services necessary to enable the Silverback features. |