Table of Contents

Class ServiceCollectionExtensions

Namespace
Silverback.Configuration
Assembly
Silverback.Core.dll
public static class ServiceCollectionExtensions
Inheritance
ServiceCollectionExtensions
Inherited Members

Methods

AddSilverback(IServiceCollection)

Adds the minimum essential Silverback services to the IServiceCollection. Additional services including message broker support and database bindings must be added separately using the returned SilverbackBuilder.

public static SilverbackBuilder AddSilverback(this IServiceCollection services)

Parameters

services IServiceCollection

The IServiceCollection to add the services to.

Returns

SilverbackBuilder

The SilverbackBuilder to add the services necessary to enable the Silverback features.

ConfigureSilverback(IServiceCollection)

Returns an SilverbackBuilder instance that can be used to configure the additional services.

public static SilverbackBuilder ConfigureSilverback(this IServiceCollection services)

Parameters

services IServiceCollection

The IServiceCollection to add the services to.

Returns

SilverbackBuilder

The SilverbackBuilder to add the services necessary to enable the Silverback features.