Show / Hide Table of Contents

    Class ServiceCollectionAddSilverbackExtensions

    Adds the AddSilverback method to the IServiceCollection.

    Inheritance
    object
    ServiceCollectionAddSilverbackExtensions
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Microsoft.Extensions.DependencyInjection
    Assembly: Silverback.Core.dll
    Syntax
    public static class ServiceCollectionAddSilverbackExtensions

    Methods

    | Improve this doc View source

    AddSilverback(IServiceCollection)

    Adds the minimum essential Silverback services to the 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
    IServiceCollection services

    The IServiceCollection to add the services to.

    Returns
    Type Description
    ISilverbackBuilder

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

    • Improve this doc
    • View source
    GitHub E-Mail
    ↑ Back to top © 2020 Sergio Aquilini